summaryrefslogtreecommitdiff
path: root/extra/gimp-gap
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-19 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-09-19 23:14:46 +0000
commitdf65be2b18070d63ffd056e8563279e4646bee9a (patch)
treedb83bf14cc793eaa739a4c65f7af96583cc56576 /extra/gimp-gap
parentf57b139ded4e8c4b10555985513b3f9a70a70e12 (diff)
Mon Sep 19 23:14:46 UTC 2011
Diffstat (limited to 'extra/gimp-gap')
-rw-r--r--extra/gimp-gap/PKGBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/extra/gimp-gap/PKGBUILD b/extra/gimp-gap/PKGBUILD
index 997bb3fe2..cb6c612e4 100644
--- a/extra/gimp-gap/PKGBUILD
+++ b/extra/gimp-gap/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 64731 2010-01-22 02:05:13Z eric $
+# $Id: PKGBUILD 138172 2011-09-18 06:56:19Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=gimp-gap
pkgver=2.6.0
-pkgrel=2
+pkgrel=3
pkgdesc="A Plug-In collection to edit and create animations for the Gimp"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gimp.org/downloads/"
-depends=('gimp>=2.6.0' 'xvidcore' 'bash' 'libjpeg')
+depends=('gimp' 'xvidcore' 'bash' 'libjpeg')
makedepends=('intltool')
options=('!makeflags')
source=(ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/$pkgname-$pkgver.tar.bz2)
@@ -17,13 +17,12 @@ md5sums=('249ed829de8b78675c0fe4ef4212089f')
build() {
cd "$srcdir/$pkgname-$pkgver"
- #Arch64 fix
- if [ "$CARCH" = "x86_64" ]; then
- ./configure --prefix=/usr CFLAGS="$CFLAGS -fPIC" || return 1
- else
- ./configure --prefix=/usr || return 1
- fi
+ [ "$CARCH" = "x86_64" ] && CFLAGS+="-fPIC"
+ ./configure --prefix=/usr
+ make
+}
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}