summaryrefslogtreecommitdiff
path: root/community/gimp-plugin-wavelet-denoise/PKGBUILD
blob: 965c516d1e5eaa93c76f61aae95023f3e903bc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}