[arch-commits] Commit in pari/trunk (PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Fri Jan 13 10:36:35 UTC 2017


    Date: Friday, January 13, 2017 @ 10:36:35
  Author: bisson
Revision: 207194

replace pari-sage

Modified:
  pari/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-13 09:41:38 UTC (rev 207193)
+++ PKGBUILD	2017-01-13 10:36:35 UTC (rev 207194)
@@ -3,7 +3,7 @@
 
 pkgname=pari
 pkgver=2.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Computer algebra system designed for fast computations in number theory'
 url='http://pari.math.u-bordeaux.fr/'
 license=('GPL')
@@ -15,6 +15,10 @@
 source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc})
 sha1sums=('ad6af366153ae160aaa4cb49edf3a32a69f7afc1' 'SKIP')
 
+conflicts=('pari-sage')
+provides=("pari-sage=1:${pkgver}")
+replaces=("pari-sage=1:${pkgver}")
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	./Configure \
@@ -35,4 +39,7 @@
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install
 	ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1
+
+	# required by sagemath
+	install -Dm644 src/language/anal.h "${pkgdir}"/usr/include/pari/anal.h
 }



More information about the arch-commits mailing list