# Contributor: Andre Klitzing # Maintainer: Andre Klitzing pkgname=pdfgrep pkgver=2.0 pkgrel=0 pkgdesc="Commandline utility to search text in PDF files" url="https://pdfgrep.org/" arch="all" license="GPL" makedepends="autoconf automake pcre-dev poppler-dev libgcrypt-dev" subpackages="$pkgname-doc" source="https://pdfgrep.org/download/${pkgname}-${pkgver}.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="e289a5202c500a794ad4b17c4b07aa4e4592a17818010d90ffbdb1d4db5ee61557bb35ecebeee2bc7595275e27c82bbd98c68fe6148b50f0bc60296c479c578e pdfgrep-2.0.tar.gz"