# Template file for 'ctags'
pkgname=ctags
version=5.9.20210214.0
revision=1
wrksrc=ctags-p${version}
build_style=gnu-configure
hostmakedepends="pkg-config automake python3-docutils"
short_desc="Generates an index file of language objects found in source files"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-2.0-only"
homepage="https://ctags.io/"
distfiles="https://github.com/universal-ctags/ctags/archive/p${version}.tar.gz"
checksum=26d9efe481a57e81195878cdb0baca730a3c4d234b9a7c4f6bf2c8def42bf42b

do_configure() {
	./autogen.sh
	./configure ${configure_args}
}

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