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

Antonio Rojas arojas at archlinux.org
Thu Sep 5 18:50:48 UTC 2019


    Date: Thursday, September 5, 2019 @ 18:50:47
  Author: arojas
Revision: 508214

Add /usr/share/gap symlink, needed by python3 sage

Modified:
  gap/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-05 18:11:03 UTC (rev 508213)
+++ PKGBUILD	2019-09-05 18:50:47 UTC (rev 508214)
@@ -5,7 +5,7 @@
 pkgbase=gap
 pkgname=(gap gap-doc gap-packages)
 pkgver=4.10.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Groups, Algorithms, Programming: a system for computational discrete algebra"
 arch=(x86_64)
 url="https://www.gap-system.org/"
@@ -75,6 +75,9 @@
   install -Dm755 gap -t "$pkgdir"/usr/lib/gap
 # Install launcher script
   install -Dm755 "$srcdir"/gap.sh "$pkgdir"/usr/bin/gap
+
+  mkdir -p "$pkgdir"/usr/share
+  ln -s /usr/lib/gap -t "$pkgdir"/usr/share # expected by sagemath
 }
 
 package_gap-doc() {



More information about the arch-commits mailing list