updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / pdf-parser / PKGBUILD
blob82a862da30de6c71b01f45ff5ee390b1ca66738e
1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2 pkgname=pdf-parser
3 pkgver=0.3.7
4 pkgrel=1
5 pkgdesc="Pdf-parser parse a PDF document to identify the fundamental elements used in the analyzed file"
6 arch=('any')
7 url="http://blog.didierstevens.com/programs/pdf-tools/"
8 license=('custom')
9 depends=('python<=2.6.5')
10 source=("http://www.didierstevens.com/files/software/pdf-parser_V0_3_7.zip")
12 md5sums=('bdc0e5a82eb6d7c287e7360d8901023d')
13 sha512sums=('3528b1b7fd5dbcfb8da84e66738dca8ca23dbd2b9940e2aff7056bd606dd44a7686ec842ac03dd44950296b3f255fbcd95b3c546ad434ab1989253de2a5eacc9')
15 build()
17  mkdir -p $pkgdir/usr/bin/
18  sed -i 's/__maximum_python_version__ = (2, 6, 2)/__maximum_python_version__ = (2, 6, 5)/g' $srcdir/$pkgname.py
19  cp $srcdir/$pkgname.py $pkgdir/usr/bin/$pkgname