Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
singular
Commits:
43791b7f by Antonio Rojas at 2024-02-15T09:05:14+01:00
Update to 4.3.2.p15
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,21 +1,27 @@
pkgbase = singular
pkgdesc = Computer Algebra System for polynomial computations
- pkgver = 4.3.2.p10
+ pkgver = 4.3.2.p15
pkgrel = 1
url = https://www.singular.uni-kl.de/
arch = x86_64
license = GPL
+ makedepends = latex2html
+ makedepends = sharutils
+ makedepends = texlive-basic
+ makedepends = texlive-bin
+ makedepends = texlive-latex
depends = bash
depends = cddlib
depends = flint
depends = gcc-libs
depends = glibc
depends = gmp
+ depends = normaliz
depends = ntl
depends = readline
provides = singular-factory
options = !zipman
- source =
ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/4-3-2/singular-4.3.2p10.tar.gz
- sha256sums =
28c2c9fcfee954e00dfa56eb1a7d418d5b1de67c4398d25a0f2b8f73e71552a8
+ source =
https://github.com/Singular/Singular/archive/4.3.2p15/singular-4.3.2p15.tar.gz
+ sha256sums =
ac48213f688b0c517f3e81343e2ef3f6e64960ca279182877067aa4a27cbbcb9
pkgname = singular
=====================================
PKGBUILD
=====================================
@@ -17,16 +17,27 @@ depends=(bash
gcc-libs
glibc
gmp
+ normaliz
ntl
readline)
+makedepends=(latex2html
+ sharutils
+ texlive-basic
+ texlive-bin
+ texlive-latex)
provides=(singular-factory)
#
source=(ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_pkgver//-/.}.tar.gz)
source=(https://github.com/Singular/Singular/archive/$_pkgver/$pkgname-$_pkgver.tar.gz)
sha256sums=('ac48213f688b0c517f3e81343e2ef3f6e64960ca279182877067aa4a27cbbcb9')
options=(!zipman)
+prepare() {
+ cd Singular-$_pkgver
+ ./autogen.sh
+}
+
build() {
- cd singular-${_majver//-/.}
+ cd Singular-$_pkgver
# this uses malloc_usable_size, which is incompatible with fortification
level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
@@ -40,14 +51,15 @@ build() {
--enable-Order-module \
--enable-python-module \
--enable-gfanlib-module \
- --enable-polymake-module
+ --enable-polymake-module \
+ --enable-doc-build
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool -i */libtool
make
}
check() {
- cd singular-${_majver//-/.}
+ cd Singular-$_pkgver
# this uses malloc_usable_size, which is incompatible with fortification
level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
@@ -57,6 +69,6 @@ check() {
}
package() {
- cd singular-${_majver//-/.}
+ cd Singular-$_pkgver
make DESTDIR="$pkgdir" install
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/commit/43791b7f154071b585ed1904bcd03a3d2653c60e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/commit/43791b7f154071b585ed1904bcd03a3d2653c60e
You're receiving this email because of your account on gitlab.archlinux.org.