[arch-commits] Commit in eclib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jul 12 12:08:40 UTC 2018
Date: Thursday, July 12, 2018 @ 12:08:40
Author: arojas
Revision: 357918
Add missing header
Modified:
eclib/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-12 11:45:09 UTC (rev 357917)
+++ PKGBUILD 2018-07-12 12:08:40 UTC (rev 357918)
@@ -3,7 +3,7 @@
pkgname=eclib
pkgver=20180710
-pkgrel=1
+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/"
@@ -10,9 +10,16 @@
license=(GPL)
depends=(flint pari boost-libs)
makedepends=(boost)
-source=("https://github.com/JohnCremona/eclib/archive/v$pkgver.tar.gz")
-sha256sums=('176840c9dbed6156f291da3c877ce680f746acf0dcd1b952174f1e046f28b71d')
+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
More information about the arch-commits
mailing list