1 # Maintainer: David Pernot <dpernot@gmail.com>
2 # This package is used by xcas which requires 2.3 release
7 pkgdesc='Computer algebra system designed for fast computations in number theory'
9 url='http://pari.math.u-bordeaux.fr/'
11 depends=('gmp' 'readline')
12 makedepends=('perl' 'texlive-core')
14 optdepends=('perl: gphelp, tex2mail'
15 'libx11: high precision plots')
16 source=("${url}pub/pari/unix/OLD/pari-$pkgver.tar.gz")
17 sha1sums=('0c97456c5fc7e9fe774ceb44aaf77e9ba9574ae6')
20 cd "$srcdir/pari-$pkgver"
21 ./Configure --prefix=/usr --with-gmp --with-readline
26 cd "$srcdir/pari-$pkgver"
31 cd "$srcdir/pari-$pkgver"
32 make DESTDIR="$pkgdir" install
34 # symlink pointing to a symlink that is going to be moved by zipman
35 rm "$pkgdir"/usr/share/man/man1/pari.1
36 ln -s gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1.gz