# $Id: PKGBUILD 45155 2009-07-08 01:46:07Z eric $ # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=gimp-gap pkgver=2.6.0 pkgrel=1 pkgdesc="A Plug-In collection to edit and create animations for the Gimp" arch=(i686 x86_64) license=('GPL') url="http://www.gimp.org/downloads/" depends=('gimp>=2.6.0' 'xvidcore' 'bash' 'libjpeg>=7') makedepends=('intltool') options=('!makeflags') source=(ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/$pkgname-$pkgver.tar.bz2) 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 make || return 1 make DESTDIR="$pkgdir" install || return 1 }