[arch-commits] Commit in lcalc/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Oct 19 16:19:30 UTC 2016
Date: Wednesday, October 19, 2016 @ 16:19:30
Author: arojas
Revision: 192599
pari-sage 2.8.0.alpha rebuild
Modified:
lcalc/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-19 16:08:17 UTC (rev 192598)
+++ PKGBUILD 2016-10-19 16:19:30 UTC (rev 192599)
@@ -3,7 +3,7 @@
pkgname=lcalc
pkgver=1.23
-pkgrel=12
+pkgrel=13
pkgdesc="C++ L-function class library and command line interface"
arch=(i686 x86_64)
url="http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/L.html"
@@ -25,6 +25,8 @@
patch -p1 -i "$srcdir"/gcc-5.patch
# port to PARI 2.7 API
patch -p1 -i "$srcdir"/pari-2.7.patch
+# Install headers where Sage expects them
+ sed -e 's|include/Lfunction|include/libLfunction|g' -i src/Makefile
}
build() {
@@ -38,9 +40,9 @@
make INSTALL_DIR="$pkgdir"/usr install
# remove leftover files
- rm "$pkgdir"/usr/include/Lfunction/{Lexplicit_formula.h.swap.crap,.*.swp,.DS*}
+ rm "$pkgdir"/usr/include/libLfunction/{Lexplicit_formula.h.swap.crap,.*.swp,.DS*}
# fix wrong permissions
- chmod 644 "$pkgdir"/usr/include/Lfunction/Ldokchitser.h
+ chmod 644 "$pkgdir"/usr/include/libLfunction/Ldokchitser.h
# fix insecure rpath
chrpath -d "$pkgdir"/usr/bin/lcalc
}
More information about the arch-commits
mailing list