updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / imgtops / PKGBUILD
blob1c288ee2e41fa092b0cb8820c7cc493da7fea97d
1 # Contributor: Leonid.I <lisaev at indiana dot edu>
3 pkgname=imgtops
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Bitmap image to (E)PS converter"
7 arch=('i686' 'x86_64')
8 url="http://imgtops.sourceforge.net/"
9 license=('custom')
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')
16 build() {
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