From 68cbd35dcbe7cda8ce687f53d060b486fc4ce66e Mon Sep 17 00:00:00 2001 From: David Beauchamp Date: Fri, 24 Dec 2021 11:47:49 -0500 Subject: [PATCH] community/gap to 4.11.1-6 --- community/gap/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/community/gap/PKGBUILD b/community/gap/PKGBUILD index ce6b89481..4445606a8 100644 --- a/community/gap/PKGBUILD +++ b/community/gap/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=gap pkgname=(gap gap-doc gap-packages) pkgver=4.11.1 -pkgrel=5 +pkgrel=6 pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra' arch=(x86_64) url='https://www.gap-system.org/' @@ -19,7 +19,7 @@ source=(https://github.com/gap-system/gap/releases/download/v$pkgver/$pkgbase-$p sha256sums=('6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304' '143fb8a79a52c007903cce13407850df309ef803a9b00398d05169355917de46' 'SKIP') -makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wget chrpath fmt git) +makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wget chrpath fmt eigen git) # TODO: unbundle normaliz prepare() { @@ -63,6 +63,7 @@ build() { cd pkg export CFLAGS+=" -fcommon" # Fix anupq and cohomolo build with GCC 10 export CXXFLAGS+=" -I/usr/include/cxsc" # Find c-xsc headers + export CXXFLAGS+=" -I/usr/include/eigen3" # Fix build of semigroups export LDFLAGS+=" -L$srcdir/gap-$pkgver/tmp-install -lgap" # See https://trac.sagemath.org/ticket/27372 export LD_LIBRARY_PATH="$srcdir"/gap-$pkgver/tmp-install ../bin/BuildPackages.sh @@ -142,5 +143,7 @@ package_gap-packages() { find "$pkgdir"/usr/lib/gap/pkg -type d -name src | xargs rm -fr rm -r "$pkgdir"/usr/lib/gap/pkg/digraphs*/extern rm -r "$pkgdir"/usr/lib/gap/pkg/semigroups*/libsemigroups + rm -r "$pkgdir"/usr/lib/gap/pkg/CaratInterface/carat* + rm -r "$pkgdir"/usr/lib/gap/pkg/kbmag-1.5.9/standalone rm -r "$pkgdir"/usr/lib/gap/pkg/log }