summaryrefslogtreecommitdiff
path: root/community/pari
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-14 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-10-14 23:14:43 +0000
commit4232b74445f80f4175c1485a53a02c79b37a63f1 (patch)
treeff7a0dde570bf886cc5006918a9ee339efecde1c /community/pari
parente426a2696568231fa5a863cb80f4db9088193732 (diff)
Fri Oct 14 23:14:43 UTC 2011
Diffstat (limited to 'community/pari')
-rw-r--r--community/pari/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/pari/PKGBUILD b/community/pari/PKGBUILD
index ec9c6f80b..770b1133c 100644
--- a/community/pari/PKGBUILD
+++ b/community/pari/PKGBUILD
@@ -1,35 +1,35 @@
+# $Id: PKGBUILD 56828 2011-10-14 00:16:01Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=pari
pkgver=2.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='Computer algebra system designed for fast computations in number theory'
arch=('i686' 'x86_64')
url='http://pari.math.u-bordeaux.fr/'
license=('GPL')
-depends=('gmp' 'readline')
+depends=('gmp' 'readline' 'libx11')
makedepends=('perl' 'texlive-core')
-optdepends=('perl: gphelp, tex2mail'
- 'libx11: high precision plots')
-source=("${url}pub/pari/unix/$pkgname-$pkgver.tar.gz")
+optdepends=('perl: gphelp, tex2mail')
+source=("${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz")
sha1sums=('d96250cd8b3e426f548a832f2f44fdfd30fd32b6')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
./Configure --prefix=/usr --with-gmp --with-readline
make all
}
check() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make bench
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
# symlink pointing to a symlink that is going to be moved by zipman
- rm "$pkgdir"/usr/share/man/man1/pari.1
- ln -s gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1.gz
+ rm "${pkgdir}"/usr/share/man/man1/pari.1
+ ln -s gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1.gz
}