# Template file for 'ctags'
pkgname=ctags
version=6.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake python3-docutils"
makedepends="jansson-devel libxml2-devel libyaml-devel pcre2-devel libseccomp-devel"
short_desc="Generates an index file of language objects found in source files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://ctags.io/"
changelog="https://github.com/universal-ctags/ctags/releases"
distfiles="https://github.com/universal-ctags/ctags/archive/refs/tags/v${version}.tar.gz"
checksum=f56829e9a576025e98955597ee967099a871987b3476fbd8dbbc2b9dc921f824

pre_configure() {
	./autogen.sh
}

do_install() {
	make prefix=${DESTDIR}/usr bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man install
}
