summaryrefslogtreecommitdiff
path: root/community/gimp-plugin-mathmap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gimp-plugin-mathmap/PKGBUILD')
-rw-r--r--community/gimp-plugin-mathmap/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/gimp-plugin-mathmap/PKGBUILD b/community/gimp-plugin-mathmap/PKGBUILD
index d99fc7806..6038f39f7 100644
--- a/community/gimp-plugin-mathmap/PKGBUILD
+++ b/community/gimp-plugin-mathmap/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 94923 2013-08-01 07:01:15Z bpiotrowski $
+# $Id: PKGBUILD 113161 2014-06-14 19:22:14Z andyrtr $
# 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=4
+pkgrel=5
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/"
@@ -14,21 +14,25 @@ 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 giflib-5.0.patch)
+ fix_libnoise_build.patch libpng15.patch giflib-5.1.patch)
md5sums=('6ff66d070ea410dee1a27283d05b8beb'
'eca40de0ba0e6b8d34b7d1f904bc3d18'
'9780d6354b7380b772c4616253ecee54'
- '9cc8eb13526056d8f3d06cc3e984a719')
+ 'a4dae904ede98ee8d3104bcfd285cec5')
-build() {
+prepare() {
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
- # fix for giflib 5.0
- patch -Np1 < "$srcdir"/giflib-5.0.patch
+ # fix for giflib 5.1
+ patch -Np1 < "$srcdir"/giflib-5.1.patch
+}
+
+build() {
+ cd "$srcdir/mathmap-$pkgver"
make
}