updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / gpdfx / PKGBUILD
blob8f3f242d7c4bad56ad405e8df12b17d65b7268a9
1 # maintainer: Francois Boulogne <fboulogne at april dot org>
3 pkgname=gpdfx
4 pkgver=1.1
5 pkgrel=5
6 pkgdesc="A graphical tool to extract parts of a PDF as a PDF"
7 arch=(any)
8 url="http://www.lhnr.de/ext/gpdfx/index.php"
9 license=("GPL")
10 depends=("python2" "texlive-core" "python2-poppler")
11 makedepends=()
12 source=(http://www.lhnr.de/ext/gpdfx/gpdfx-$pkgver.tar.gz) 
13 md5sums=("baf61782b83e1c2189331821a856bdbd")
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         #python 2
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