1 # maintainer: Francois Boulogne <fboulogne at april dot org>
6 pkgdesc="A graphical tool to extract parts of a PDF as a PDF"
8 url="http://www.lhnr.de/ext/gpdfx/index.php"
10 depends=("python2" "texlive-core" "python2-poppler")
12 source=(http://www.lhnr.de/ext/gpdfx/gpdfx-$pkgver.tar.gz)
13 md5sums=("baf61782b83e1c2189331821a856bdbd")
16 cd $srcdir/$pkgname-$pkgver
18 sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" gpdfx
19 install -Dm 755 gpdfx $pkgdir/usr/bin/gpdfx
20 install -Dm 755 clipdfx $pkgdir/usr/bin/clipdfx