summaryrefslogtreecommitdiff
path: root/extra/gimp-gap/PKGBUILD
blob: 237e7c908331446708527289595fb5ab0a96b2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 64731 2010-01-22 02:05:13Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=gimp-gap
pkgver=2.6.0
pkgrel=2
pkgdesc="A Plug-In collection to edit and create animations for the Gimp"
arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.gimp.org/downloads/"
depends=('gimp>=2.6.0' 'xvidcore' 'bash' 'libjpeg')
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
}