updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / udav / PKGBUILD
blob521bb6d3bfaa753cc56823ead2fdd4757a1552e4
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: oslik <oslik@mail.ru>
4 pkgname=udav
5 pkgver=0.7.1.2
6 pkgrel=1
7 pkgdesc="Cross-platform program for data arrays visualization based on MathGL library"
8 arch=('i686' 'x86_64')
9 url="http://udav.sourceforge.net"
10 license=('GPL')
11 depends=('mathgl>=1.10' 'hdf5')
12 install="$pkgname.install"
13 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-qt4/$pkgname%20${pkgver%.*}/$pkgname-$pkgver.tar.gz")
14 md5sums=('13db0bce31406a50a4ec5b0995f17387')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # fix prefix
20   sed -i "s|/local||g" `grep -Erl "/local" .`
22   qmake
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
29   make INSTALL_ROOT="$pkgdir/" install
32 # vim:set ts=2 sw=2 et: