[arch-commits] Commit in singular/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Oct 22 18:27:34 UTC 2016


    Date: Saturday, October 22, 2016 @ 18:27:34
  Author: arojas
Revision: 192985

Revert a commit that causes segfaults in Sage

Modified:
  singular/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-22 16:21:56 UTC (rev 192984)
+++ PKGBUILD	2016-10-22 18:27:34 UTC (rev 192985)
@@ -6,7 +6,7 @@
 _majver=4-0-3
 _patchver=4
 pkgver=${_majver//-/.}.p${_patchver}
-pkgrel=2
+pkgrel=3
 pkgdesc="Computer Algebra System for polynomial computations"
 arch=(i686 x86_64)
 url="http://www.singular.uni-kl.de/"
@@ -15,14 +15,17 @@
 makedepends=(doxygen python2)
 optdepends=('python2: Python interface')
 source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz"
-        singular-ntl10.patch::"https://github.com/Singular/Sources/commit/861b7899.patch")
+        singular-ntl10.patch::"https://github.com/Singular/Sources/commit/861b7899.patch" revert-86ce458e.patch)
 md5sums=('5b5c67b2ff2e8fa12d2fc5afc327e2d8'
-         '3dce1e6533a1b4686f9730e0b534df65')
+         '3dce1e6533a1b4686f9730e0b534df65'
+         'cc5eaa95cf24e5e295917f9ec96dea5e')
 
 prepare() {
   cd singular-${_majver//-/.}
 # Fix build with NTL 10
   patch -p1 -i ../singular-ntl10.patch
+# Revert commit that breaks Sage
+  patch -Rlp1 -i ../revert-86ce458e.patch
 }
 
 build() {
@@ -37,6 +40,9 @@
 
 # fix permissions
   chown -R root:root "$pkgdir"/usr/share
+  chmod 755 "$pkgdir"/usr/share/singular/html
+  chmod 644 "$pkgdir"/usr/share/singular/html/*
+  chmod 644 "$pkgdir"/usr/share/info/singular.hlp
 # move singular.hlp to the path expected by SageMath
   install -Dm644 "$pkgdir"/usr/share/{info,singular}/singular.hlp
 }



More information about the arch-commits mailing list