From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/gimp-plugin-wavelet-denoise/PKGBUILD | 29 ++++++++++++++++++++++ .../gimp-plugin-wavelet-denoise/po_install.diff | 21 ++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 community/gimp-plugin-wavelet-denoise/PKGBUILD create mode 100644 community/gimp-plugin-wavelet-denoise/po_install.diff (limited to 'community/gimp-plugin-wavelet-denoise') 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 +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 +} diff --git a/community/gimp-plugin-wavelet-denoise/po_install.diff b/community/gimp-plugin-wavelet-denoise/po_install.diff new file mode 100644 index 000000000..4b6d1a9fe --- /dev/null +++ b/community/gimp-plugin-wavelet-denoise/po_install.diff @@ -0,0 +1,21 @@ +diff -c -r wavelet-denoise-0.3/po/Makefile wavelet-denoise-0.3-new/po/Makefile +*** wavelet-denoise-0.3/po/Makefile 2008-12-14 12:19:22.000000000 +0100 +--- wavelet-denoise-0.3-new/po/Makefile 2008-12-20 14:57:51.000000000 +0100 +*************** +*** 24,30 **** + + install: $(LANGUAGES) + for L in $(LANGUAGES); \ +! do install -v -m 0644 $$L.mo "$(LOCALEDIR)/$$L/LC_MESSAGES/gimp20-$(PLUGIN)-plug-in.mo"; \ + done + + uninstall: $(LANGUAGES) +--- 24,31 ---- + + install: $(LANGUAGES) + for L in $(LANGUAGES); \ +! do mkdir -p "$(LOCALEDIR)/$$L/LC_MESSAGES"; \ +! install -v -m 0644 $$L.mo "$(LOCALEDIR)/$$L/LC_MESSAGES/gimp20-$(PLUGIN)-plug-in.mo"; \ + done + + uninstall: $(LANGUAGES) -- cgit v1.2.3-54-g00ecf