[arch-commits] Commit in (4 files)

Gaetan Bisson bisson at archlinux.org
Tue Apr 7 19:25:46 UTC 2015


    Date: Tuesday, April 7, 2015 @ 21:25:46
  Author: bisson
Revision: 130901

add pari-git as sage dependency

Added:
  pari-git/
  pari-git/repos/
  pari-git/trunk/
  pari-git/trunk/PKGBUILD

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

Added: pari-git/trunk/PKGBUILD
===================================================================
--- pari-git/trunk/PKGBUILD	                        (rev 0)
+++ pari-git/trunk/PKGBUILD	2015-04-07 19:25:46 UTC (rev 130901)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari-git
+_pkgname=pari
+pkgver=20150327.04f73e4
+pkgrel=1
+pkgdesc='Computer algebra system designed for fast computations in number theory'
+url='http://pari.math.u-bordeaux.fr/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gmp' 'readline' 'libx11')
+makedepends=('perl' 'texlive-core' 'git')
+optdepends=('perl: gphelp, tex2mail')
+source=('git+http://pari.math.u-bordeaux.fr/git/pari.git#commit=f0d91b910702e6fb4f9a5f0e82846e92e813e6cd')
+sha1sums=('SKIP')
+
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+
+pkgver() {
+	cd "${srcdir}/${_pkgname}"
+	git log -1 --format='%cd.%h' --date=short | tr -d -
+}
+
+build() {
+	cd "${srcdir}/${_pkgname}"
+	./Configure \
+		--prefix=/usr \
+		--with-readline \
+		--mt=pthread \
+		--with-gmp \
+
+	make all
+}
+
+check() {
+	cd "${srcdir}/${_pkgname}"
+	make bench
+}
+
+package() {
+	cd "${srcdir}/${_pkgname}"
+	make DESTDIR="${pkgdir}" install
+	ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1
+}


Property changes on: pari-git/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list