1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2 pkgname=make-pdf-javascript
5 pkgdesc="make-pdf-javascript allows one to create a simple PDF document with embedded JavaScript that will execute upon opening of the PDF document"
7 url="http://blog.didierstevens.com/programs/pdf-tools/"
11 source=("http://www.didierstevens.com/files/software/make-pdf_V0_1_1.zip")
13 md5sums=('9af2e343b78553021c989e8e22355531')
14 sha512sums=('dd6955f3dbe702e37a4c8863f3e00e882b802dd64aef9d0f9dfdb227dffee726d289b871c3a6ae36cdfeb4c8d47be7a8ebab5821bedc95a272a73036104c1b10')
18 mkdir -p $pkgdir/usr/bin/
19 mkdir -p $pkgdir/usr/lib/python2.6
23 python -O -c 'import mPDF'
24 python -c 'import mPDF'
25 cp $pkgname.py $pkgdir/usr/bin/$pkgname
26 cp mPDF.py* $pkgdir/usr/lib/python2.6