updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / make-pdf-javascript / PKGBUILD
blobf7092d89f590f9fdab6f44c9003276c864a79d5a
1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2 pkgname=make-pdf-javascript
3 pkgver=0.1.1
4 pkgrel=1
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"
6 arch=('any')
7 url="http://blog.didierstevens.com/programs/pdf-tools/"
8 license=('custom')
9 depends=('python')
10 makedeps=('hd2u')
11 source=("http://www.didierstevens.com/files/software/make-pdf_V0_1_1.zip")
13 md5sums=('9af2e343b78553021c989e8e22355531')
14 sha512sums=('dd6955f3dbe702e37a4c8863f3e00e882b802dd64aef9d0f9dfdb227dffee726d289b871c3a6ae36cdfeb4c8d47be7a8ebab5821bedc95a272a73036104c1b10')
16 build()
18  mkdir -p $pkgdir/usr/bin/
19  mkdir -p $pkgdir/usr/lib/python2.6
20  cd $srcdir
21  dos2unix $pkgname.py
22  dos2unix mPDF.py
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