mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
1.2 KiB
Bash
26 lines
1.2 KiB
Bash
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
|
|
# Contributor: Serge Gielkens <gielkens.serge@mumeli.org>
|
|
pkgname=gimp-mathmap
|
|
pkgver=1.2.4
|
|
pkgrel=4
|
|
pkgdesc="A GIMP plug-in which allows distortion of images specified by mathematical formulae"
|
|
url="http://www.complang.tuwien.ac.at/schani/mathmap/"
|
|
depends=('gimp>=2.2' 'gsl' 'gtksourceview' 'giflib')
|
|
source=(http://www.complang.tuwien.ac.at/schani/mathmap/files/mathmap-${pkgver}.tar.gz)
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
build() {
|
|
cd "$srcdir/mathmap-$pkgver"
|
|
make || return 1
|
|
install -d "$pkgdir/usr/share/gimp/2.0/mathmap/expressions"
|
|
install -d "$pkgdir"/usr/lib/gimp/2.0/plug-ins
|
|
install -d $pkgdir/usr/share/gtksourceview-1.0/language-specs
|
|
install -D mathmap "$pkgdir"/usr/bin/mathmap
|
|
ln -s /usr/bin/mathmap "$pkgdir"/usr/lib/gimp/2.0/plug-ins/mathmap
|
|
install -D new_template.c opmacros.h \
|
|
generators/blender/blender_template.c generators/blender/blender_opmacros.h \
|
|
pixmaps/*.png "$pkgdir"/usr/share/gimp/2.0/mathmap
|
|
install mathmap.lang "$pkgdir"/usr/share/gtksourceview-1.0/language-specs
|
|
cp -r examples "$pkgdir"/usr/share/gimp/2.0/mathmap/expressions
|
|
}
|
|
md5sums=('e2e6e14349f7a8ca0b02217364f744af')
|