[arch-commits] Commit in gimp-refocus/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Fri Jun 24 02:06:37 UTC 2011


    Date: Thursday, June 23, 2011 @ 22:06:37
  Author: eric
Revision: 128457

upgpkg: gimp-refocus 0.9.0-3
Fixed build problem, PKGBUILD cleanup

Modified:
  gimp-refocus/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-24 01:23:46 UTC (rev 128456)
+++ PKGBUILD	2011-06-24 02:06:37 UTC (rev 128457)
@@ -3,32 +3,33 @@
 # Contributor: Tobias Kieslich <tobias at 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')
+pkgrel=3
+pkgdesc="A sharpen plugin for gimp using FIR Wiener filtering"
+arch=('i686' 'x86_64')
 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')
+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'
+         '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
+  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
-  automake -a --gnu --include-deps Makefile
-  automake -a --gnu --include-deps lib/Makefile
   autoconf
-  echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+  automake --add-missing
   ./configure --prefix=/usr --bindir=/usr/lib/gimp/2.0/plug-ins
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make
 }
+
+package() {
+  cd "${srcdir}/refocus-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list