[arch-commits] Commit in gap-4.8/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Aug 19 00:07:23 UTC 2018
Date: Sunday, August 19, 2018 @ 00:07:22
Author: arojas
Revision: 372727
Keep gap.sh script, will be needed by next Sagemath
Modified:
gap-4.8/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-19 00:06:17 UTC (rev 372726)
+++ PKGBUILD 2018-08-19 00:07:22 UTC (rev 372727)
@@ -7,7 +7,7 @@
pkgname=(gap-4.8 gap-4.8-data gap-4.8-doc gap-4.8-packages)
pkgver=4.8.10
_gapver=4r8p10_2018_01_15-13_02
-pkgrel=2
+pkgrel=3
pkgdesc="Groups, Algorithms, Programming: a system for computational discrete algebra (version 4.8)"
arch=(x86_64)
url="https://www.gap-system.org/"
@@ -72,15 +72,14 @@
cp -r pkg/GAPDoc-* "$pkgdir"/usr/lib/gap-4.8/pkg
mkdir -p "$pkgdir"/usr/bin
- install -m755 "$pkgdir"/usr/lib/gap-4.8/bin/gap.sh "$pkgdir"/usr/bin/gap-4.8
+ ln -s /usr/lib/gap-4.8/bin/gap.sh "$pkgdir"/usr/bin/gap-4.8
# fix location
- sed -e 's|/build/gap-4.8/src/gap4r8|/usr/lib/gap-4.8|' -i "$pkgdir"/usr/bin/gap-4.8 -i "$pkgdir"/usr/lib/gap-4.8/bin/*/sysinfo.gap
+ sed -e 's|/build/gap-4.8/src/gap4r8|/usr/lib/gap-4.8|' \
+ -i "$pkgdir"/usr/lib/gap-4.8/bin/gap.sh -i "$pkgdir"/usr/lib/gap-4.8/bin/*/sysinfo.gap
# remove unneeded stuff
rm "$pkgdir"/usr/lib/gap-4.8/bin/*/*.o
- rm "$pkgdir"/usr/lib/gap-4.8/bin/gap.sh
- find "$pkgdir"/usr/lib/gap-4.8/bin/ -maxdepth 1 -type f -exec rm {} \;
rm -r "$pkgdir"/usr/lib/gap-4.8/bin/*/{config*,extern,gac,Makefile}
}
More information about the arch-commits
mailing list