# Maintainer: Daniel M. Capella # Contributor: Jakob Gahde # Contributor: VargArch # Contributor: zsrkmyn # Contributor: marsam pkgname=universal-ctags-git pkgver=5.9.20201011.0.r12.g01b9fc86 pkgrel=1 pkgdesc='Generates an index (or tag) file of language objects found in source files' arch=('x86_64') url=https://ctags.io license=('GPL') depends=('jansson' 'libseccomp' 'libxml2' 'libyaml') makedepends=('git' 'python-docutils') provides=('ctags') conflicts=('ctags') source=("git+https://github.com/universal-ctags/ctags.git") b2sums=('SKIP') pkgver() { cd ctags git describe --long --tags | sed 's/^p//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd ctags ./autogen.sh ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc make } check() { cd ctags mkdir -p testhome export HOME=./testhome export XDG_CONFIG_HOME= make check } package() { cd ctags make DESTDIR="$pkgdir" install }