summaryrefslogtreecommitdiff
path: root/community/grace/PKGBUILD
blob: c0bd0d791b4ca165d4bce80af9b611f6e772db65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 32615 2010-11-15 22:22:27Z spupykin $
# 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=4
pkgdesc="2D plotting tool"
arch=(i686 x86_64)
url="http://plasma-gate.weizmann.ac.il/Grace/"
depends=('libjpeg' 'libpng' 'lesstif' 't1lib' 'netcdf')
makedepends=('netcdf' 'fftw')
license=('GPL')
source=(ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/$pkgname-$pkgver.tar.gz)
md5sums=('672356466f18fe59ed21a8fb44f9851d')
md5sums=('672356466f18fe59ed21a8fb44f9851d')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure   --prefix=/usr --exec-prefix=/usr \
		--enable-grace-home=/usr/share/grace \
		--includedir=/usr/include --libdir=/usr/lib \
		-with-helpviewer="firefox %s"
  make
  make DESTDIR=$pkgdir install
  cd $pkgdir/usr/share/grace && mv bin lib include ../../
}