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

Antonio Rojas arojas at archlinux.org
Fri Mar 20 15:36:33 UTC 2020


    Date: Friday, March 20, 2020 @ 15:36:33
  Author: arojas
Revision: 601748

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-20 15:35:56 UTC (rev 601747)
+++ PKGBUILD	2020-03-20 15:36:33 UTC (rev 601748)
@@ -1,44 +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=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
-}

Copied: singular/repos/community-x86_64/PKGBUILD (from rev 601747, singular/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-20 15:36:33 UTC (rev 601748)
@@ -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=3
+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/7886c15.patch")
+#source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
+sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f'
+            '349dc244111bfcaf93308bdc0ed91712bfbc18045c33f70f0e55dfd9a48bc864')
+options=(!zipman)
+
+prepare() {
+  cd singular-${_majver//-/.}
+  patch -p1 -i ../omfree-segfault.patch # Fix double free
+}
+
+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