1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Alexandros Konstantinakis - Karmis <el04092@users.ntua.gr>
7 pkgdesc="X-Windows application for interactive plotting and graphing"
8 url="http://www.isi.edu/nsnam/xgraph/"
10 arch=('i686' 'x86_64')
11 depends=('libx11' 'libsm')
12 source=(http://www.isi.edu/nsnam/dist/$pkgname-$pkgver.tar.gz \
14 md5sums=('c4cbfb3291a607dd274e7fb161b9056a' '6eedab1bd05b35884bc0c647430165b5')
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
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