updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / xgraph / PKGBUILD
blobaaae858038ab84619802afeb4ba8f5828bd5beff
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Alexandros Konstantinakis - Karmis <el04092@users.ntua.gr>
4 pkgname=xgraph
5 pkgver=12.1
6 pkgrel=4
7 pkgdesc="X-Windows application for interactive plotting and graphing"
8 url="http://www.isi.edu/nsnam/xgraph/"
9 license=('custom')
10 arch=('i686' 'x86_64')
11 depends=('libx11' 'libsm')
12 source=(http://www.isi.edu/nsnam/dist/$pkgname-$pkgver.tar.gz \
13   gcc4.4.diff)
14 md5sums=('c4cbfb3291a607dd274e7fb161b9056a' '6eedab1bd05b35884bc0c647430165b5')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
18   ./configure --prefix=$pkgdir/usr --mandir=$pkgdir/usr/share/man || return 1
19   patch -p1 < $srcdir/gcc4.4.diff || return 1
20   make || return 1
21   make prefix=$pkgdir/usr install || return 1
22   install -Dm644 $pkgdir/usr/share/man/manm/$pkgname.man \
23     $pkgdir/usr/share/man/man1/$pkgname.1 || return 1
24   rm -r $pkgdir/usr/share/man/manm || return 1
25   install -Dm644 $srcdir/$pkgname-$pkgver/copyright.h \
26     $pkgdir/usr/share/licenses/$pkgname/copyright.h || return 1