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

Antonio Rojas arojas at archlinux.org
Sun Apr 19 09:11:39 UTC 2020


    Date: Sunday, April 19, 2020 @ 09:11:39
  Author: arojas
Revision: 616452

Update source URL, compile anupq package, fix xgap launcher script

Modified:
  gap/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-19 08:56:54 UTC (rev 616451)
+++ PKGBUILD	2020-04-19 09:11:39 UTC (rev 616452)
@@ -5,12 +5,12 @@
 pkgbase=gap
 pkgname=(gap gap-doc gap-packages)
 pkgver=4.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Groups, Algorithms, Programming: a system for computational discrete algebra"
 arch=(x86_64)
 url="https://www.gap-system.org/"
 license=(GPL)
-source=("https://www.gap-system.org/pub/gap/gap-${pkgver%.*}/tar.gz/gap-$pkgver.tar.gz" gap.sh
+source=("https://files.gap-system.org/gap-${pkgver%.*}/tar.gz/gap-$pkgver.tar.gz" gap.sh
          git+https://github.com/gap-packages/NormalizInterface#commit=cd69a42
          gap-polymake-4.0.patch)
 sha256sums=('6fda7af23394708aeb3b4bca8885f5fdcb7c3ae4419639dfb2d9f67d3f590abb'
@@ -26,8 +26,6 @@
   sed -e '/build-normaliz.sh/d' -i bin/BuildPackages.sh
 # Use system libsemigroups
   sed -e 's|test "$with_external_libsemigroups" = yes|true|' -i pkg/semigroups-*/configure
-# Disable anupq package, it's i686 only
-  rm -r pkg/anupq-*
 # Fix https://bugs.archlinux.org/task/55174
   sed -e '/xgap/d' -i pkg/sonata-*/PackageInfo.g
   sed -e '/XGAP/d' -i pkg/cryst/PackageInfo.g
@@ -115,7 +113,7 @@
   cp -r pkg "$pkgdir"/usr/lib/gap
 
 # fix xgap launch script
-  sed -e 's|/build/gap/src/gap-4.10.2|/usr/lib/gap|g' -e 's|^GAP=.*|GAP=/usr/lib/gap/gap|g' \
+  sed -e "s|/build/gap/src/gap-$pkgver|/usr/lib/gap|g" -e 's|^GAP=.*|GAP=/usr/lib/gap/gap|g' \
     "$pkgdir"/usr/lib/gap/pkg/xgap-*/xgap.sh > "$pkgdir"/usr/bin/xgap
   chmod 755 "$pkgdir"/usr/bin/xgap
   rm "$pkgdir"/usr/lib/gap/pkg/xgap-*/xgap.sh*



More information about the arch-commits mailing list