[arch-commits] Commit in pari/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Oct 25 16:26:36 UTC 2021
Date: Monday, October 25, 2021 @ 16:26:36
Author: arojas
Revision: 1033526
archrelease: copy trunk to community-x86_64
Added:
pari/repos/community-x86_64/PKGBUILD
(from rev 1033525, pari/trunk/PKGBUILD)
Deleted:
pari/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-25 16:26:25 UTC (rev 1033525)
+++ PKGBUILD 2021-10-25 16:26:36 UTC (rev 1033526)
@@ -1,57 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=pari
-pkgver=2.13.2
-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 libx11)
-makedepends=(perl texlive-core chrpath)
-optdepends=('perl: gphelp, tex2mail'
- 'pari-elldata: J. Cremona elliptic curve database'
- 'pari-galdata: to compute Galois groups in degrees 8 through 11'
- 'pari-seadata: needed by ellap for large primes'
- 'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals')
-checkdepends=(pari-elldata pari-galdata pari-seadata pari-galpol)
-source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc})
-sha256sums=('1679985094a0b723d14f49aa891dbe5ec967aa4040050a2c50bd764ddb3eba24'
- 'SKIP')
-validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -e 's|DLLDFLAGS = \$DLLDFLAGS|DLLDFLAGS = $DLLDFLAGS $LDFLAGS|' -i config/Makefile.SH # Honor system LDFLAGS
-}
-
-build() {
- cd $pkgname-$pkgver
-
- # Upstream Bill Allombert recommends linking gp statically against
- # libpari.so with -flto to recover speed losses incurred when enabling
- # pthread support. That's also what he now does for the Debian package.
- export CFLAGS+=' -flto'
-
- ./Configure \
- --prefix=/usr \
- --with-readline \
- --mt=pthread \
- --with-gmp
- make all
- make -C Olinux-x86_64 gp-sta
-}
-
-check() {
- cd $pkgname-$pkgver
- make test-all
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" -C Olinux-x86_64 install-bin-sta
- ln -sf gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1
- chrpath -d "$pkgdir"/usr/bin/gp-*
-}
Copied: pari/repos/community-x86_64/PKGBUILD (from rev 1033525, pari/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-25 16:26:36 UTC (rev 1033526)
@@ -0,0 +1,57 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari
+pkgver=2.13.3
+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 libx11)
+makedepends=(perl texlive-core chrpath)
+optdepends=('perl: gphelp, tex2mail'
+ 'pari-elldata: J. Cremona elliptic curve database'
+ 'pari-galdata: to compute Galois groups in degrees 8 through 11'
+ 'pari-seadata: needed by ellap for large primes'
+ 'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals')
+checkdepends=(pari-elldata pari-galdata pari-seadata pari-galpol)
+source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc})
+sha256sums=('ccba7f1606c6854f1443637bb57ad0958d41c7f4753f8ae8459f1d64c267a1ca'
+ 'SKIP')
+validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -e 's|DLLDFLAGS = \$DLLDFLAGS|DLLDFLAGS = $DLLDFLAGS $LDFLAGS|' -i config/Makefile.SH # Honor system LDFLAGS
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ # Upstream Bill Allombert recommends linking gp statically against
+ # libpari.so with -flto to recover speed losses incurred when enabling
+ # pthread support. That's also what he now does for the Debian package.
+ export CFLAGS+=' -flto'
+
+ ./Configure \
+ --prefix=/usr \
+ --with-readline \
+ --mt=pthread \
+ --with-gmp
+ make all
+ make -C Olinux-x86_64 gp-sta
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make test-all
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C Olinux-x86_64 install-bin-sta
+ ln -sf gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1
+ chrpath -d "$pkgdir"/usr/bin/gp-*
+}
More information about the arch-commits
mailing list