summaryrefslogtreecommitdiff
path: root/community/gimp-refocus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gimp-refocus/PKGBUILD')
-rw-r--r--community/gimp-refocus/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/gimp-refocus/PKGBUILD b/community/gimp-refocus/PKGBUILD
new file mode 100644
index 000000000..28a68328a
--- /dev/null
+++ b/community/gimp-refocus/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 128457 2011-06-24 02:06:37Z eric $
+# Maintainer: Tobias Kieslich <tobias@justdreams.de>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=gimp-refocus
+pkgver=0.9.0
+pkgrel=4
+pkgdesc="A sharpen plugin for gimp using FIR Wiener filtering"
+arch=('i686' 'x86_64')
+url="http://refocus.sourceforge.net/"
+license=('GPL2')
+depends=('gimp')
+source=(http://downloads.sourceforge.net/sourceforge/refocus/refocus-${pkgver}.tar.gz \
+ refocus-gimp-2.0.patch refocus-mirror-fix.patch refocus-gimp-preview.patch)
+md5sums=('8d4eac4ef45c904fb5e73021696bec94'
+ '1b7bc13154f483994af3846c7ee29ad7'
+ '532593cba030feab8ffa7800fc9cd782'
+ '6b55dbdc656646c765064cf21e1a3c57')
+
+build() {
+ cd "${srcdir}/refocus-${pkgver}"
+ patch -Np0 -i ../refocus-gimp-2.0.patch
+ patch -Np0 -i ../refocus-mirror-fix.patch
+ patch -Np0 -i ../refocus-gimp-preview.patch
+ aclocal
+ autoconf
+ automake --add-missing
+ ./configure --prefix=/usr --bindir=/usr/lib/gimp/2.0/plug-ins
+ make
+}
+
+package() {
+ cd "${srcdir}/refocus-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}