updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nip2 / PKGBUILD
blobe601f51e6d77c010bdbcbe3c0c8cad0ebbfceb9e
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.4
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=('09fef692324db9363eef1cee80d5559e')
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