[arch-commits] Commit in lcalc/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Sep 30 06:14:46 UTC 2019


    Date: Monday, September 30, 2019 @ 06:14:45
  Author: arojas
Revision: 512149

Move headers to the default location as required by Sage 8.9

Modified:
  lcalc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-29 22:41:27 UTC (rev 512148)
+++ PKGBUILD	2019-09-30 06:14:45 UTC (rev 512149)
@@ -2,7 +2,7 @@
 
 pkgname=lcalc
 pkgver=1.23
-pkgrel=18
+pkgrel=19
 pkgdesc="C++ L-function class library and command line interface"
 arch=(x86_64)
 url="http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/L.html"
@@ -27,8 +27,6 @@
   patch -p1 -i ../gcc-5.patch
 # port to PARI 2.7 API
   patch -p1 -i ../pari-2.7.patch
-# Install headers where Sage expects them
-  sed -e 's|include/Lfunction|include/libLfunction|g' -i src/Makefile
 # make headers C++11 compliant
   patch -p1 -i ../lcalc-c++11.patch
 # use system CFLAGS/LDFLAGS
@@ -46,7 +44,7 @@
   make INSTALL_DIR="$pkgdir"/usr install
 
 # fix wrong permissions
-  chmod 644 "$pkgdir"/usr/include/libLfunction/Ldokchitser.h
+  chmod 644 "$pkgdir"/usr/include/Lfunction/Ldokchitser.h
 # fix insecure rpath
   chrpath -d "$pkgdir"/usr/bin/lcalc
 }


More information about the arch-commits mailing list