[arch-commits] Commit in pari/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Jan 11 07:05:07 UTC 2019
Date: Friday, January 11, 2019 @ 07:05:06
Author: foutrelis
Revision: 422212
archrelease: copy trunk to community-staging-x86_64
Added:
pari/repos/community-staging-x86_64/
pari/repos/community-staging-x86_64/PKGBUILD
(from rev 422211, pari/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: pari/repos/community-staging-x86_64/PKGBUILD (from rev 422211, pari/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-11 07:05:06 UTC (rev 422212)
@@ -0,0 +1,41 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari
+pkgver=2.11.1
+pkgrel=2
+pkgdesc='Computer algebra system designed for fast computations in number theory'
+url='https://pari.math.u-bordeaux.fr/'
+license=('GPL')
+arch=('x86_64')
+depends=('gmp' 'readline' 'libx11')
+makedepends=('perl' 'texlive-core')
+optdepends=('perl: gphelp, tex2mail')
+validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
+source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('24a9b324a6e9fb161f49dd93aa4dc3f8bb8996c96050ee0468b2f92b45eacac9'
+ 'SKIP')
+
+conflicts=('pari-sage')
+replaces=("pari-sage<=1:${pkgver}")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./Configure \
+ --prefix=/usr \
+ --with-readline \
+ --mt=pthread \
+ --with-gmp \
+
+ make all
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make bench
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1
+}
More information about the arch-commits
mailing list