Date: Thursday, July 19, 2018 @ 16:28:53
  Author: bisson
Revision: 362409

archrelease: copy trunk to community-staging-x86_64

Added:
  pari/repos/community-staging-x86_64/
  pari/repos/community-staging-x86_64/PKGBUILD
    (from rev 362408, pari/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: pari/repos/community-staging-x86_64/PKGBUILD (from rev 362408, 
pari/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-19 16:28:53 UTC (rev 362409)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=pari
+pkgver=2.11.0
+pkgrel=1
+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=('3835caccaa3e0c64764521032d89efeb8773cce841f6655fec6d58e790f4c9a1'
+            '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
+}

Reply via email to