1 # Contributor: OvsInc <ovsinc(at)ya(dot)ru>
6 pkgdesc="A Gimp plugin for simply create stuff photo"
7 url="http://gimp-id-photo.ru/"
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')
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')