summaryrefslogtreecommitdiff
path: root/community/pari/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /community/pari/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/pari/PKGBUILD')
-rw-r--r--community/pari/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/pari/PKGBUILD b/community/pari/PKGBUILD
index 13653dcd4..c61e08f6a 100644
--- a/community/pari/PKGBUILD
+++ b/community/pari/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 77048 2012-10-03 23:34:04Z bisson $
+# $Id: PKGBUILD 90928 2013-05-15 13:56:58Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=pari
-pkgver=2.5.3
+pkgver=2.5.4
pkgrel=1
pkgdesc='Computer algebra system designed for fast computations in number theory'
url='http://pari.math.u-bordeaux.fr/'
@@ -11,12 +11,16 @@ arch=('i686' 'x86_64' 'mips64el')
depends=('gmp' 'readline' 'libx11')
makedepends=('perl' 'texlive-core')
optdepends=('perl: gphelp, tex2mail')
-source=("${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('de79eee7ae017a495dc0c648b6f7d5a4f6c7a522')
+source=("${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha1sums=('471226fd86fea0ad1f236249a49bdaee16aa34bf' 'SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed 's/\$addlib64//g' -i config/get_libpth
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's/\$addlib64/ /' -i config/get_libpth
./Configure --prefix=/usr --with-gmp --with-readline
make all
}
@@ -29,8 +33,5 @@ check() {
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
- ln -s gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1.gz
+ ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1
}