[arch-commits] Commit in singular/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jun 28 15:27:40 UTC 2022
Date: Tuesday, June 28, 2022 @ 15:27:39
Author: arojas
Revision: 1239835
archrelease: copy trunk to community-staging-x86_64
Added:
singular/repos/community-staging-x86_64/
singular/repos/community-staging-x86_64/PKGBUILD
(from rev 1239834, singular/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 1239834, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-06-28 15:27:39 UTC (rev 1239835)
@@ -0,0 +1,48 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-3-1
+_patchver=1
+#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=('7251f37eca8f14b163d395f7fe8e0fbcafb095ee0f2de60cc9ffdb84710aab1f'
+ '7d326156de3c0f3e142af4d4a96d696a0557f1c98124d25e2135c36f0773a490')
+options=(!zipman debug)
+
+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
+}
More information about the arch-commits
mailing list