diff options
author | root <root@rshg054.dnsready.net> | 2012-01-22 23:15:13 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-22 23:15:13 +0000 |
commit | 164067832916c8e59219e1b0f30d7d04618a536e (patch) | |
tree | 5ec718dc77dfccfcdb1409707658bef3fb421ac4 /community-staging/gimp-plugin-wavelet-decompose | |
parent | a1922d0ec660fdc1892f2783515f781c090df0a9 (diff) |
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to 'community-staging/gimp-plugin-wavelet-decompose')
-rw-r--r-- | community-staging/gimp-plugin-wavelet-decompose/PKGBUILD | 26 | ||||
-rw-r--r-- | community-staging/gimp-plugin-wavelet-decompose/po_install.diff | 21 |
2 files changed, 47 insertions, 0 deletions
diff --git a/community-staging/gimp-plugin-wavelet-decompose/PKGBUILD b/community-staging/gimp-plugin-wavelet-decompose/PKGBUILD new file mode 100644 index 000000000..b91271e0b --- /dev/null +++ b/community-staging/gimp-plugin-wavelet-decompose/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 62511 2012-01-20 09:51:23Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Denis Kvist <denvist@ya.ru> + +pkgname=gimp-plugin-wavelet-decompose +pkgver=0.1.2 +pkgrel=2 +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 + install -Dvm755 src/wavelet-decompose \ + "$pkgdir"/usr/lib/gimp/2.0/plug-ins/wavelet-decompose + cd po + make LOCALEDIR="$pkgdir"/usr/share/locale install +} diff --git a/community-staging/gimp-plugin-wavelet-decompose/po_install.diff b/community-staging/gimp-plugin-wavelet-decompose/po_install.diff new file mode 100644 index 000000000..4b6d1a9fe --- /dev/null +++ b/community-staging/gimp-plugin-wavelet-decompose/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) |