summaryrefslogtreecommitdiff
path: root/extra/gimp-refocus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gimp-refocus/PKGBUILD')
-rw-r--r--extra/gimp-refocus/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/gimp-refocus/PKGBUILD b/extra/gimp-refocus/PKGBUILD
new file mode 100644
index 000000000..6d78aad67
--- /dev/null
+++ b/extra/gimp-refocus/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 54791 2009-10-11 19:30:09Z giovanni $
+# Maintainer: Tobias Kieslich <tobias@justdreams.de>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=gimp-refocus
+_pname=refocus
+pkgver=0.9.0
+pkgrel=2
+arch=(i686 x86_64)
+license=(GPL2)
+pkgdesc="a sharpen plugin for gimp using FIR Wiener filtering"
+depends=('gimp>=2.0.0')
+url="http://refocus.sourceforge.net/"
+source=(http://downloads.sourceforge.net/sourceforge/${_pname}/${_pname}-${pkgver}.tar.gz
+\
+ ${_pname}-gimp-2.0.patch ${_pname}-mirror-fix.patch ${_pname}-gimp-preview.patch)
+md5sums=('8d4eac4ef45c904fb5e73021696bec94' '8ef9dfe697cd20be2be14c1ee53a240a'\
+ '532593cba030feab8ffa7800fc9cd782' '6b55dbdc656646c765064cf21e1a3c57')
+
+build() {
+ cd ${startdir}/src/${_pname}-${pkgver}
+ # we need a *load of patches now to compile
+ patch -Np0 -i ../${_pname}-gimp-2.0.patch || return 1
+ patch -Np0 -i ../${_pname}-mirror-fix.patch || return 1
+ patch -Np0 -i ../${_pname}-gimp-preview.patch || return 1
+ aclocal
+ automake -a --gnu --include-deps Makefile
+ automake -a --gnu --include-deps lib/Makefile
+ autoconf
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ ./configure --prefix=/usr --bindir=/usr/lib/gimp/2.0/plug-ins
+ make || return 1
+ make DESTDIR=${startdir}/pkg install
+}