mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/gap to 4.11.1-4
This commit is contained in:
parent
e93d203a97
commit
b4fb48a2a5
1 changed files with 14 additions and 8 deletions
|
@ -8,18 +8,18 @@
|
|||
pkgbase=gap
|
||||
pkgname=(gap gap-doc gap-packages)
|
||||
pkgver=4.11.1
|
||||
pkgrel=1
|
||||
pkgdesc="Groups, Algorithms, Programming: a system for computational discrete algebra"
|
||||
pkgrel=4
|
||||
pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra'
|
||||
arch=(x86_64)
|
||||
url="https://www.gap-system.org/"
|
||||
url='https://www.gap-system.org/'
|
||||
license=(GPL)
|
||||
source=(https://github.com/gap-system/gap/releases/download/v$pkgver/$pkgbase-$pkgver.tar.gz
|
||||
gap.sh
|
||||
gap-libsemigroups-1.3.4.patch)
|
||||
git+https://github.com/semigroups/Semigroups#commit=c5e2c895b15762896520a5b3636aa0e3bb2f881f)
|
||||
sha256sums=('6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304'
|
||||
'143fb8a79a52c007903cce13407850df309ef803a9b00398d05169355917de46'
|
||||
'b24cda7763bbdf249f4693c22231c17a682aacdc4bc5754e88e0ace9700af7e7')
|
||||
makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wget chrpath fmt)
|
||||
'SKIP')
|
||||
makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wget chrpath fmt git)
|
||||
# TODO: unbundle normaliz
|
||||
|
||||
prepare() {
|
||||
|
@ -31,8 +31,14 @@ prepare() {
|
|||
sed -e '/xgap/d' -i pkg/sonata-*/PackageInfo.g
|
||||
sed -e '/XGAP/d' -i pkg/cryst/PackageInfo.g
|
||||
|
||||
cd pkg/semigroups-*
|
||||
patch -p1 -i "$srcdir"/gap-libsemigroups-1.3.4.patch # Fix build with libsemigroups 1.3.4
|
||||
# Update semigroups to support libsemigroups 2
|
||||
rm -r pkg/semigroups-*
|
||||
mv ../Semigroups pkg/semigroups
|
||||
cd pkg/semigroups
|
||||
rm prerequisites.sh
|
||||
mkdir libsemigroups
|
||||
./autogen.sh
|
||||
sed -e 's|test "$with_external_libsemigroups" = yes|true|' -i configure
|
||||
|
||||
cd ../CddInterface-*
|
||||
sed -e 's|/usr/include/cdd|/usr/include/cddlib|' -i configure.ac # Fix build with cddlib 0.94k
|
||||
|
|
Loading…
Reference in a new issue