1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
5 pkgdesc="Pdf-parser parse a PDF document to identify the fundamental elements used in the analyzed file"
7 url="http://blog.didierstevens.com/programs/pdf-tools/"
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')
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