updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gimp-resynth-heal-selection / PKGBUILD
blobf2df1f5c1a246251ef5a8d74b7d2ef86cc52a332
1 pkgname=gimp-resynth-heal-selection
2 pkgver=0.16
3 pkgrel=4
4 pkgdesc="Resynthesizer plugin for The Gimp. With 'Heal selection' fix."
5 arch=('i686' 'x86_64')
6 license=("GPL2")
7 url="http://www.logarithmic.net/pfh/resynthesizer"
8 depends=('gimp')
9 provides=('gimp-resynth')
10 conflicts=('gimp-resynth')
11 source=("http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-$pkgver.tar.gz"
12         "http://registry.gimp.org/files/smart-remove.scm")
14 md5sums=('097b3a21803fe02e47b8b8649af48144'
15          '92aa7e9ac6b2bda43ac4c14346345296')
17 build() {
18         cd "${srcdir}/resynthesizer-${pkgver}/"
19         make || return 1
20         
21         install -d "${pkgdir}"/usr/{lib/gimp/2.0/plug-ins,share/gimp/2.0/scripts}
22         install -m 755 resynth "${pkgdir}/usr/lib/gimp/2.0/plug-ins"
23         #install -m 644 smart-remove.scm "${pkgdir}/usr/share/gimp/2.0/scripts" # old
24         install -m 644 ../smart-remove.scm "${pkgdir}/usr/share/gimp/2.0/scripts" # fix
25         install -m 644 smart-enlarge.scm "${pkgdir}/usr/share/gimp/2.0/scripts"