# $Id: PKGBUILD 114007 2014-07-01 12:17:56Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Denis Kvist pkgname=gimp-plugin-wavelet-decompose pkgver=0.1.2 pkgrel=3 pkgdesc="Wavelet decompose plugin for Gimp" arch=('i686' 'x86_64') url="http://registry.gimp.org/node/11742" license=('GPL') depends=('gimp') source=(http://registry.gimp.org/files/wavelet-decompose-$pkgver.tar.gz \ po_install.diff) md5sums=('e0cb8670a1c5506d08f57f2300caac24' '4de9e41a535f200c2502f0dd8458c43e') build() { cd "$srcdir/wavelet-decompose-$pkgver" patch -Np1 < ../po_install.diff make } package() { cd "$srcdir/wavelet-decompose-$pkgver" install -Dvm755 src/wavelet-decompose \ "$pkgdir"/usr/lib/gimp/2.0/plug-ins/wavelet-decompose cd po make LOCALEDIR="$pkgdir"/usr/share/locale install }