Date: Tuesday, February 23, 2021 @ 17:23:15
  Author: arojas
Revision: 869895

archrelease: copy trunk to community-testing-x86_64

Added:
  eclib/repos/community-testing-x86_64/
  eclib/repos/community-testing-x86_64/PKGBUILD
    (from rev 869894, eclib/trunk/PKGBUILD)

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

Copied: eclib/repos/community-testing-x86_64/PKGBUILD (from rev 869894, 
eclib/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-02-23 17:23:15 UTC (rev 869895)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=eclib
+pkgver=20210223
+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=('e9133eb2ff60cc8d083b0c9af15cae04a3376951806ecbd127a41362f4097f3a')
+
+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"
+}

Reply via email to