updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gimp-id-photo / PKGBUILD
blobfc890d60051e2487369ed4416798c2af076859cf
1 # Contributor: OvsInc <ovsinc(at)ya(dot)ru>
3 pkgname=gimp-id-photo
4 pkgver=20110811beta
5 pkgrel=2
6 pkgdesc="A Gimp plugin for simply create stuff photo"
7 url="http://gimp-id-photo.ru/"
8 arch=('any')
9 license=("GPL")
10 depends=('gimp' 'python2')
11 makedepends=('pkgconfig')
12 source=('http://gimp-id-photo.ru/files/id-photo-BETA-11-august-2011.zip' 'arch-python2.diff')
14 build() {
15   cd $srcdir
16   patch -p0 < arch-python2.diff || return 1
17   install -d "$pkgdir"/usr/lib/gimp/2.0/plug-ins/
18   install -d "$pkgdir"/usr/share/{licenses,doc}/$pkgname-$pkgver-$pkgrel
19   install -m 755 "$srcdir"/id_photo_BETA.py  "$pkgdir"/usr/lib/gimp/2.0/plug-ins/ || return 1
20   install -m 644 "$srcdir"/formats.conf  "$pkgdir"/usr/lib/gimp/2.0/plug-ins/ || return 1
21   install -m 644 "$srcdir"/LICENSE.txt  "$pkgdir"/usr/share/licenses/$pkgname-$pkgver-$pkgrel/ || return 1
22   install -m 644 "$srcdir"/ReadMe.txt  "$pkgdir"/usr/share/doc/$pkgname-$pkgver-$pkgrel/ || return 1
25 md5sums=('8686b8a04e67cef88de257fb8196364a'
26          '107b0013a6d345345632a18abe7f1a09')