summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2499913899e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Michel Brabants <michel.linux@tiscali.be>
+pkgname=vips
+pkgver=8.0.2
+pkgrel=1
+pkgdesc="A free image processing system"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.vips.ecs.soton.ac.uk/index.php"
+depends=('libxml2' 'fftw' 'imagemagick' 'orc' 'openexr' 'pango' 'libexif')
+optdepends=('python2: vipsprofile')
+# less used depends: 'libwebp' 'cfitsio'
+# optional makedepends: 'v4l-utils' 'python2'
+# minimal depends: 'libxml2'
+options=('!libtool')
+source=("http://www.vips.ecs.soton.ac.uk/supported/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
+md5sums=('d3879c09254a33a01d6b86173e11265f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # fix vipsprofile
+ sed -i 's|^#!.*python$|&2|' "$pkgdir/usr/bin/vipsprofile"
+}
+