summaryrefslogtreecommitdiff
path: root/community/pari/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
committerroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
commit71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (patch)
tree948002f901215fa91b99058ec3bfc4a51475018d /community/pari/PKGBUILD
parent7347bb994a41d021c83e97b503f577f2399302e7 (diff)
Fri Jun 24 23:06:35 UTC 2011
Diffstat (limited to 'community/pari/PKGBUILD')
-rw-r--r--community/pari/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/pari/PKGBUILD b/community/pari/PKGBUILD
index e9b0334ac..ec9c6f80b 100644
--- a/community/pari/PKGBUILD
+++ b/community/pari/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=pari
-pkgver=2.3.5
-pkgrel=3
+pkgver=2.5.0
+pkgrel=1
pkgdesc='Computer algebra system designed for fast computations in number theory'
arch=('i686' 'x86_64')
url='http://pari.math.u-bordeaux.fr/'
@@ -12,7 +12,7 @@ makedepends=('perl' 'texlive-core')
optdepends=('perl: gphelp, tex2mail'
'libx11: high precision plots')
source=("${url}pub/pari/unix/$pkgname-$pkgver.tar.gz")
-sha1sums=('f211ccfe42a4b18dbcde832dfd1ece6f477f4966')
+sha1sums=('d96250cd8b3e426f548a832f2f44fdfd30fd32b6')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -20,11 +20,14 @@ build() {
make all
}
-package() {
+check() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make bench
+}
- install -m 644 -t "$pkgdir/usr/include/$pkgname/" Olinux-$CARCH/*.h
+package() {
+ 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