summaryrefslogtreecommitdiff
path: root/community/gimp-plugin-wavelet-denoise/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gimp-plugin-wavelet-denoise/PKGBUILD')
-rw-r--r--community/gimp-plugin-wavelet-denoise/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/gimp-plugin-wavelet-denoise/PKGBUILD b/community/gimp-plugin-wavelet-denoise/PKGBUILD
new file mode 100644
index 000000000..965c516d1
--- /dev/null
+++ b/community/gimp-plugin-wavelet-denoise/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 25244 2010-09-02 17:48:35Z stativ $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=gimp-plugin-wavelet-denoise
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Tool to reduce noise in each channel of an image separately"
+arch=('i686' 'x86_64')
+url="http://registry.gimp.org/node/4235"
+license=('GPL')
+depends=('gimp')
+source=(http://registry.gimp.org/files/wavelet-denoise-$pkgver.tar.gz \
+ po_install.diff)
+md5sums=('a02862026857575cdf81b24477e42f4b'
+ '4de9e41a535f200c2502f0dd8458c43e')
+
+build() {
+ cd "$srcdir/wavelet-denoise-$pkgver"
+
+ patch -Np1 < ../po_install.diff
+ make
+}
+
+package() {
+ cd "$srcdir/wavelet-denoise-$pkgver"
+ install -Dvm755 src/wavelet-denoise \
+ "$pkgdir"/usr/lib/gimp/2.0/plug-ins/wavelet-denoise
+ cd po
+ make LOCALEDIR="$pkgdir"/usr/share/locale install
+}