[arch-commits] Commit in singular/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Jan 7 21:03:24 UTC 2022
Date: Friday, January 7, 2022 @ 21:03:24
Author: arojas
Revision: 1096363
archrelease: copy trunk to community-staging-x86_64
Added:
singular/repos/community-staging-x86_64/
singular/repos/community-staging-x86_64/PKGBUILD
(from rev 1096362, singular/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 1096362, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-01-07 21:03:24 UTC (rev 1096363)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-3-0
+_patchver=3
+#pkgver=${_majver//-/.}.p${_patchver}
+pkgver=${_majver//-/.}
+pkgrel=1
+pkgdesc='Computer Algebra System for polynomial computations'
+arch=(x86_64)
+url='https://www.singular.uni-kl.de/'
+license=(GPL)
+depends=(flint cddlib)
+makedepends=(doxygen)
+#source=(ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz
+source=(ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz
+ doc-$pkgver.tbz2::ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/doc.tbz2)
+sha256sums=('30dcb1d69eea4f69ad0937e662fe02f942b216caaaa4c11f4645e78ddffe0add'
+ 'e4fa836d65eb08801e3b38cb1c45571e09b4c765b0c51085479deeed59fab43b')
+options=(!zipman)
+
+build() {
+ cd singular-${_majver//-/.}
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --docdir=/usr/share/doc \
+ --enable-bigintm-module \
+ --enable-bigintm-module \
+ --enable-Order-module \
+ --enable-python-module \
+ --enable-gfanlib-module \
+ --enable-polymake-module
+# https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd singular-${_majver//-/.}
+ make check
+}
+
+package() {
+ cd singular-${_majver//-/.}
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 ../singular.idx -t "$pkgdir"/usr/share/singular
+}
More information about the arch-commits
mailing list