Date: Friday, February 14, 2020 @ 21:34:32
  Author: arojas
Revision: 571274

Fix broken libpolys.pc

Modified:
  singular/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-14 21:34:21 UTC (rev 571273)
+++ PKGBUILD    2020-02-14 21:34:32 UTC (rev 571274)
@@ -6,7 +6,7 @@
 _patchver=3
 pkgver=${_majver//-/.}.p${_patchver}
 #pkgver=${_majver//-/.}
-pkgrel=1
+pkgrel=2
 pkgdesc="Computer Algebra System for polynomial computations"
 arch=(x86_64)
 url="https://www.singular.uni-kl.de/";
@@ -34,4 +34,7 @@
   install -Dm644 doc/singular.idx -t "$pkgdir"/usr/share/singular
   # Fix ownership
   chown -R root:root "$pkgdir"/usr/share/singular/html 
"$pkgdir"/usr/share/info "$pkgdir"/usr/share/singular/singular.idx
+
+  # Fix libpolys.pc
+  sed -e 's|@NTL_LIBS@|-lntl|g' -i "$pkgdir"/usr/lib/pkgconfig/libpolys.pc
 }

Reply via email to