[arch-commits] Commit in eclib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jun 8 17:38:09 UTC 2021


    Date: Tuesday, June 8, 2021 @ 17:38:09
  Author: felixonmars
Revision: 959767

archrelease: copy trunk to community-staging-x86_64

Added:
  eclib/repos/community-staging-x86_64/
  eclib/repos/community-staging-x86_64/PKGBUILD
    (from rev 959766, eclib/trunk/PKGBUILD)

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

Copied: eclib/repos/community-staging-x86_64/PKGBUILD (from rev 959766, eclib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-06-08 17:38:09 UTC (rev 959767)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=eclib
+pkgver=20210503
+pkgrel=2
+pkgdesc="Includes mwrank (for 2-descent on elliptic curves over Q) and modular symbol code used to create the elliptic curve database"
+arch=(x86_64)
+url="https://github.com/JohnCremona/eclib/"
+license=(GPL)
+depends=(flint pari boost-libs)
+makedepends=(boost)
+source=(https://github.com/JohnCremona/eclib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('7ed61c7dfd64f6969aef2bfaaa192bc0e814fa6226faffef7b2ebbe253708281')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-flint=/usr --with-boost
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list