community/gap to 4.11.1-8

This commit is contained in:
David Beauchamp 2022-02-16 12:52:40 -05:00
parent 1d26f4e7bd
commit 016d30015c

View file

@ -8,7 +8,7 @@
pkgbase=gap pkgbase=gap
pkgname=(gap gap-doc gap-packages) pkgname=(gap gap-doc gap-packages)
pkgver=4.11.1 pkgver=4.11.1
pkgrel=7 pkgrel=8
pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra' pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra'
arch=(x86_64) arch=(x86_64)
url='https://www.gap-system.org/' url='https://www.gap-system.org/'
@ -92,7 +92,7 @@ package_gap() {
cp -r pkg/$_pkg "$pkgdir"/usr/lib/gap/pkg cp -r pkg/$_pkg "$pkgdir"/usr/lib/gap/pkg
done done
install -Dm755 gap -t "$pkgdir"/usr/lib/gap install -Dm755 gap -t "$pkgdir"/usr/lib/gap
sed -e "s|$PWD|/usr/lib/gap|g" -i sysinfo.gap sed -e "s|$PWD|/usr/lib/gap|g" -e "s|-I/usr/lib|-I/usr/include|g" -i sysinfo.gap
cp -ar sysinfo.gap* "$pkgdir"/usr/lib/gap cp -ar sysinfo.gap* "$pkgdir"/usr/lib/gap
# Install launcher script # Install launcher script
install -Dm755 "$srcdir"/gap.sh "$pkgdir"/usr/bin/gap install -Dm755 "$srcdir"/gap.sh "$pkgdir"/usr/bin/gap