blob: 68505f07054c12c8d92e65b2fe205cb4f25dd43a (
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
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 63124 2012-01-30 18:57:39Z ibiru $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Serge Gielkens <gielkens.serge@mumeli.org>
pkgname=gimp-plugin-mathmap
pkgver=1.3.5
pkgrel=2
pkgdesc="A GIMP plug-in which allows distortion of images specified by mathematical formulae"
arch=('i686' 'x86_64')
url="http://www.complang.tuwien.ac.at/schani/mathmap/"
license=('GPL')
depends=('gimp' 'gsl' 'gtksourceview2' 'fftw' 'giflib')
makedepends=('doxygen' 'unzip')
provides=('gimp-mathmap')
replaces=('gimp-mathmap')
source=(http://www.complang.tuwien.ac.at/schani/mathmap/files/mathmap-${pkgver}.tar.gz \
fix_libnoise_build.patch libpng15.patch)
md5sums=('6ff66d070ea410dee1a27283d05b8beb'
'eca40de0ba0e6b8d34b7d1f904bc3d18'
'9780d6354b7380b772c4616253ecee54')
build() {
cd "$srcdir/mathmap-$pkgver"
# fix problem with building libnoise
patch -Np1 < "$srcdir"/fix_libnoise_build.patch
# fix for libpng 1.5
patch -Np1 < "$srcdir"/libpng15.patch
make
}
package() {
cd "$srcdir/mathmap-$pkgver"
make DESTDIR="$pkgdir" install
}
|