[arch-commits] Commit in eclib/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Jul 12 12:09:04 UTC 2018


    Date: Thursday, July 12, 2018 @ 12:09:04
  Author: arojas
Revision: 357919

archrelease: copy trunk to community-x86_64

Added:
  eclib/repos/community-x86_64/PKGBUILD
    (from rev 357918, eclib/trunk/PKGBUILD)
Deleted:
  eclib/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-12 12:08:40 UTC (rev 357918)
+++ PKGBUILD	2018-07-12 12:09:04 UTC (rev 357919)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=eclib
-pkgver=20180710
-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.tar.gz")
-sha256sums=('176840c9dbed6156f291da3c877ce680f746acf0dcd1b952174f1e046f28b71d')
-
-build() {
-  cd $pkgname-$pkgver
-  ./autogen.sh
-  LDFLAGS+=' -lpthread' ./configure --prefix=/usr --with-flint=/usr --with-boost
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-}
-

Copied: eclib/repos/community-x86_64/PKGBUILD (from rev 357918, eclib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-12 12:09:04 UTC (rev 357919)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=eclib
+pkgver=20180710
+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/archive/v$pkgver.tar.gz"
+        eclib-types.h.patch::"https://github.com/JohnCremona/eclib/commit/c9b96429.patch")
+sha256sums=('176840c9dbed6156f291da3c877ce680f746acf0dcd1b952174f1e046f28b71d'
+            '32ff367b173fce44cf9b2f6a79b29fe13f00f4fcdbf4904115b9ea30d57ec28e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../eclib-types.h.patch # Add missing include
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  LDFLAGS+=' -lpthread' ./configure --prefix=/usr --with-flint=/usr --with-boost
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}
+



More information about the arch-commits mailing list