[arch-commits] Commit in singular/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 17 21:22:24 UTC 2021


    Date: Wednesday, November 17, 2021 @ 21:22:24
  Author: arojas
Revision: 1051230

archrelease: copy trunk to community-staging-x86_64

Added:
  singular/repos/community-staging-x86_64/
  singular/repos/community-staging-x86_64/PKGBUILD
    (from rev 1051229, singular/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 1051229, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-17 21:22:24 UTC (rev 1051230)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-2-1
+_patchver=2
+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=('b413d2bce7a887d61fef4b47c78bcaea0e8f3b5c0b1071a3252d63d0adfedce1'
+            '0e3860de6d39204cf623fa6486175f560e862002f433a93b9a1bda4acbac1d8e')
+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