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

Antonio Rojas arojas at archlinux.org
Mon Mar 8 17:10:15 UTC 2021


    Date: Monday, March 8, 2021 @ 17:10:15
  Author: arojas
Revision: 886925

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: eclib/repos/community-staging-x86_64/PKGBUILD (from rev 886924, eclib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-03-08 17:10:15 UTC (rev 886925)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=eclib
+pkgver=20210308
+pkgrel=1
+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/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('bc3ac4ece92742e416f61279bb0037c2e073daa142d3319c26f97f9e5c5ab47d')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./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