PKGBUILDs/community/grace/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
865 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: damir <damir@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=grace
pkgver=5.1.22
pkgrel=2
pkgdesc="2D plotting tool"
arch=(i686 x86_64)
url="http://plasma-gate.weizmann.ac.il/Grace/"
depends=('libjpeg' 'libpng' 'lesstif' 't1lib')
makedepends=('netcdf' 'fftw')
license=('GPL')
source=(ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/$pkgname-$pkgver.tar.gz)
md5sums=('672356466f18fe59ed21a8fb44f9851d')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --exec-prefix=/usr \
--enable-grace-home=/usr/share/grace \
-with-helpviewer="firefox %s"
make || return 1
make DESTDIR=$startdir/pkg install || return 1
cd $startdir/pkg/usr/share/grace && mv bin ../../
}