community/gap to 4.12.0-3

This commit is contained in:
Kevin Mihelich 2022-10-02 22:08:52 +00:00
parent 1092da16f1
commit 0f2913c55b

View file

@ -9,20 +9,24 @@
pkgbase=gap
pkgname=(gap gap-doc gap-packages)
pkgver=4.12.0
pkgrel=2
pkgrel=3
pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra'
arch=(x86_64)
url='https://www.gap-system.org/'
license=(GPL)
source=(https://github.com/gap-system/gap/releases/download/v$pkgver/$pkgbase-$pkgver.tar.gz
https://github.com/gap-system/gap/commit/dce6fa96.patch
gap.sh)
sha256sums=('6005d0c0316fe8803d84681f30be64eace83a9542f975f5cb3dedfadd4391849'
'd8a362a6c1d27f2925d8b3f8eddc9aaafac1699fb568a035768d039b34ba6eb3'
'143fb8a79a52c007903cce13407850df309ef803a9b00398d05169355917de46')
makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wget chrpath fmt eigen normaliz)
prepare() {
cd gap-$pkgver
# Fix including headers when no garbage collector is specified
patch -p1 < ../dce6fa96.patch
# Use system libsemigroups
sed -e 's|test "$with_external_libsemigroups" = yes|true|' -i pkg/semigroups/configure
# Use system normaliz