1 # Contributor: Leonid.I <lisaev at indiana dot edu>
6 pkgdesc="Bitmap image to (E)PS converter"
8 url="http://imgtops.sourceforge.net/"
10 depends=('python2' 'python-imaging' 'ghostscript')
11 makedepends=('python2' 'gcc')
12 source=(http://downloads.sourceforge.net/project/imgtops/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz setup.py.patch)
13 sha1sums=('b645f58ead1b60a76648dbae8dd2b026aa501248'
14 '5ba790cdfe2808eccda59c389d80684ad5de8fab')
17 cd "$srcdir/$pkgname-$pkgver"
18 patch -Np1 -i ${srcdir}/setup.py.patch
19 python2 setup.py build
20 python2 setup.py install --root $pkgdir
21 install -dm755 $pkgdir/usr/share
22 mv $pkgdir/usr/man $pkgdir/usr/share
23 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE