updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / pari23 / PKGBUILD
blob2b32698784e10c821d3e02a6a0a190abf5b69510
1 # Maintainer: David Pernot <dpernot@gmail.com>
2 # This package is used by xcas which requires 2.3 release
4 pkgname=pari23
5 pkgver=2.3.4
6 pkgrel=1
7 pkgdesc='Computer algebra system designed for fast computations in number theory'
8 arch=('i686' 'x86_64')
9 url='http://pari.math.u-bordeaux.fr/'
10 license=('GPL')
11 depends=('gmp' 'readline')
12 makedepends=('perl' 'texlive-core')
13 conflicts=('pari')
14 optdepends=('perl: gphelp, tex2mail'
15             'libx11: high precision plots')
16 source=("${url}pub/pari/unix/OLD/pari-$pkgver.tar.gz")
17 sha1sums=('0c97456c5fc7e9fe774ceb44aaf77e9ba9574ae6')
19 build() {
20         cd "$srcdir/pari-$pkgver"
21         ./Configure --prefix=/usr --with-gmp --with-readline
22         make all
25 check() {
26         cd "$srcdir/pari-$pkgver"
27         make bench
30 package() {
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