# Contributor: Daniel Sabogal # Maintainer: pkgname=global pkgver=6.5.4 pkgrel=0 pkgdesc="A source code tag system" url="http://www.gnu.org/software/global" arch="all" license="GPL" depends="" depends_dev="" makedepends="libltdl perl" install="" subpackages="$pkgname-doc" source="https://ftp.gnu.org/gnu/global/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --localstatedir=/var \ --with-exuberant-ctags=/usr/bin/ctags \ --disable-gtagscscope \ || return 1 make check || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir/" install || return 1 install -d "$pkgdir"/usr/share/emacs/site-lisp install -d "$pkgdir"/usr/share/vim/vimfiles/plugin mv "$pkgdir"/usr/share/gtags/gtags.el "$pkgdir"/usr/share/emacs/site-lisp/gtags.el mv "$pkgdir"/usr/share/gtags/gtags.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/gtags.vim mv "$pkgdir"/usr/share/gtags/gtags-cscope.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/gtags-cscope.vim } md5sums="a6693598b4cd0890c648aa2cbfa92fe7 global-6.5.4.tar.gz" sha256sums="af16e0a686a46f759156cb685e25f345680703f43f93af1ce8d834caaf541da6 global-6.5.4.tar.gz" sha512sums="fe574b4b5fc0a289e500baffc90f57845653e874ba0d3271c1a17a92c91ccbfd5526517eab08d7a79a147687190ce4ed0a3524acb2bdd88eedaeeaa3221c8c0f global-6.5.4.tar.gz"