updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / nip2 / PKGBUILD
blobb81d8669b16d3225c76a671d31f1284312c4e2c2
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: damir <damir@archlinux.org>
4 # Contributor: Michel Brabants <michel.linux@tiscali.be>
5 pkgname=nip2
6 pkgver=7.26.3
7 pkgrel=1
8 pkgdesc="A frontend to the vips image library"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://www.vips.ecs.soton.ac.uk/"
12 # optional: graphviz
13 depends=('vips' 'gsl' 'gtk2' 'desktop-file-utils')
14 install=nip2.install
15 source=("http://www.vips.ecs.soton.ac.uk/supported/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
16 md5sums=('09660e9ab517eab7104fa343542621cc')
18 build() {
19   cd "$srcdir"/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make
24 package() {
25   cd "$srcdir"/$pkgname-$pkgver
26   make DESTDIR="$pkgdir" install
27   # files in subdirectories are useful but top-level ones not + they conflict with system files
28   rm -f "$pkgdir"/usr/share/mime/* || true
29   rm -f "$pkgdir"/usr/share/applications/mimeinfo.cache