summaryrefslogtreecommitdiff
path: root/community/pdfgrep/PKGBUILD
blob: 063b5a20cf635913c71016a1486fef577d794e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Gabriel B. Casella <gbc921@gmail.com>
# Contributor: josephgbr <rafael.f.f1@gmail.com>

pkgname=pdfgrep
pkgver=1.3.0
pkgrel=2
pkgdesc="A tool to search text in PDF files"
arch=('i686' 'x86_64')
url="http://pdfgrep.sourceforge.net/"
license=('GPL')
depends=('poppler')
conflicts=('pdfgrep-git')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('07d2819dd11b0f92278df11a95221833')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: