blob: 4e1226000d06d51b0e36381ce4fe811b06fafa42 (
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 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=3.1
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' '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"
[ "$CARCH" != "i686" ] && CFLAGS+=" -fPIC"
sed -ri 's/^gap_(plugins|morph)_LDADD .+$/& -lm/' gap/Makefile.in
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|