[arch-commits] Commit in singular/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Mar 19 20:49:58 UTC 2020


    Date: Thursday, March 19, 2020 @ 20:49:55
  Author: arojas
Revision: 601178

archrelease: copy trunk to community-testing-x86_64

Added:
  singular/repos/community-testing-x86_64/PKGBUILD
    (from rev 601177, singular/trunk/PKGBUILD)
Deleted:
  singular/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 44 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-19 20:49:24 UTC (rev 601177)
+++ PKGBUILD	2020-03-19 20:49:55 UTC (rev 601178)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=singular
-_majver=4-1-2
-_patchver=5
-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 polymake)
-optdepends=('polymake: Polymake module')
-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")
-sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f')
-options=(!zipman)
-
-build() {
-  cd singular-${_majver//-/.}
-  ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc
-# https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd singular-${_majver//-/.}
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 doc/singular.idx -t "$pkgdir"/usr/share/singular
-  # Fix ownership
-  chown -R root:root "$pkgdir"/usr/share/singular/html "$pkgdir"/usr/share/info "$pkgdir"/usr/share/singular/singular.idx
-}

Copied: singular/repos/community-testing-x86_64/PKGBUILD (from rev 601177, singular/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-19 20:49:55 UTC (rev 601178)
@@ -0,0 +1,44 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-2
+_patchver=5
+pkgver=${_majver//-/.}.p${_patchver}
+#pkgver=${_majver//-/.}
+pkgrel=2
+pkgdesc="Computer Algebra System for polynomial computations"
+arch=(x86_64)
+url="https://www.singular.uni-kl.de/"
+license=(GPL)
+depends=(flint cddlib)
+makedepends=(doxygen polymake)
+optdepends=('polymake: Polymake module')
+source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz"
+         omfree-segfault.patch::"https://github.com/Singular/Sources/commit/014a3fc5.patch")
+#source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
+sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f'
+            '53ff434a06b5202abd5b6c4922e7c061867f607e6a268ff852462a8c6f42a742')
+options=(!zipman)
+
+prepare() {
+  cd singular-${_majver//-/.}
+  patch -Rp1 -i ../omfree-segfault.patch
+}
+
+build() {
+  cd singular-${_majver//-/.}
+  ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc
+# https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd singular-${_majver//-/.}
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 doc/singular.idx -t "$pkgdir"/usr/share/singular
+  # Fix ownership
+  chown -R root:root "$pkgdir"/usr/share/singular/html "$pkgdir"/usr/share/info "$pkgdir"/usr/share/singular/singular.idx
+}



More information about the arch-commits mailing list