[arch-commits] Commit in pari-git/repos (4 files)
Gaetan Bisson
bisson at archlinux.org
Tue Apr 7 19:51:26 UTC 2015
Date: Tuesday, April 7, 2015 @ 21:51:26
Author: bisson
Revision: 130903
archrelease: copy trunk to community-i686, community-x86_64
Added:
pari-git/repos/community-i686/
pari-git/repos/community-i686/PKGBUILD
(from rev 130902, pari-git/trunk/PKGBUILD)
pari-git/repos/community-x86_64/
pari-git/repos/community-x86_64/PKGBUILD
(from rev 130902, pari-git/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: pari-git/repos/community-i686/PKGBUILD (from rev 130902, pari-git/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-04-07 19:51:26 UTC (rev 130903)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari-git
+_pkgname=pari
+pkgver=20150407.f0d91b9
+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
+}
Copied: pari-git/repos/community-x86_64/PKGBUILD (from rev 130902, pari-git/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-04-07 19:51:26 UTC (rev 130903)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari-git
+_pkgname=pari
+pkgver=20150407.f0d91b9
+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
+}
More information about the arch-commits
mailing list