Date: Wednesday, May 24, 2017 @ 14:50:05
  Author: arojas
Revision: 229942

boost 1.64 rebuild

Modified:
  eclib/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-05-24 14:45:20 UTC (rev 229941)
+++ PKGBUILD    2017-05-24 14:50:05 UTC (rev 229942)
@@ -3,7 +3,7 @@
 
 pkgname=eclib
 pkgver=20170330
-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=(i686 x86_64)
 url="https://github.com/JohnCremona/eclib/";
@@ -13,6 +13,12 @@
 source=("https://github.com/JohnCremona/eclib/archive/v$pkgver.tar.gz";)
 sha256sums=('c507c3c83a21d445c6fba1c339aa4c37d488aeae829e5368a9bff000b148baf3')
 
+prepare() {
+  cd $pkgname-$pkgver
+  # Fix build with boost 1.64
+  find -type f | xargs sed -e 's|scalar|eclscalar|g' -i
+}
+
 build() {
   cd $pkgname-$pkgver
   ./autogen.sh

Reply via email to