# Contributor: Robson Peixoto # Maintainer: Stefan Husmann pkgname=bibtool pkgver=2.62 pkgrel=1 pkgdesc="Command line manipulation of BibTeX files." arch=('i686' 'x86_64') url="http://www.gerd-neugebauer.de/software/TeX/BibTool/" license=('GPL') depends=('texlive-bin') makedepends=('tar') source=(http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-$pkgver.tar.gz) md5sums=('e6ede7d0c2dde4faed46eda9207bcd8f') noextract=("BibTool-$pkgver.tar.gz") build() { cd "$srcdir/" tar -xf BibTool-$pkgver.tar.gz cd BibTool sed -i '1,3d' include/bibtool/regex.h autoreconf ./configure --prefix=/usr make } package() { cd "$srcdir/BibTool" install -d "$pkgdir"/usr/bin make INSTALLPREFIX=$pkgdir install }