summaryrefslogtreecommitdiff
path: root/extra/gimp-gap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gimp-gap/PKGBUILD')
-rw-r--r--extra/gimp-gap/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/gimp-gap/PKGBUILD b/extra/gimp-gap/PKGBUILD
index cb6c612e4..2662f85ba 100644
--- a/extra/gimp-gap/PKGBUILD
+++ b/extra/gimp-gap/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gimp-gap
pkgver=2.6.0
-pkgrel=3
+pkgrel=3.2
pkgdesc="A Plug-In collection to edit and create animations for the Gimp"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gimp.org/downloads/"
depends=('gimp' 'xvidcore' 'bash' 'libjpeg')
@@ -17,7 +17,8 @@ md5sums=('249ed829de8b78675c0fe4ef4212089f')
build() {
cd "$srcdir/$pkgname-$pkgver"
- [ "$CARCH" = "x86_64" ] && CFLAGS+="-fPIC"
+ [ "$CARCH" != "i686" ] && CFLAGS+=" -fPIC"
+ sed -ri 's/^gap_(plugins|morph)_LDADD .+$/& -lm/' gap/Makefile.in
./configure --prefix=/usr
make
}