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

Antonio Rojas arojas at archlinux.org
Wed Oct 19 14:32:05 UTC 2016


    Date: Wednesday, October 19, 2016 @ 14:32:05
  Author: arojas
Revision: 192591

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: singular/repos/community-staging-i686/PKGBUILD (from rev 192590, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-19 14:32:05 UTC (rev 192591)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-0-3
+_patchver=4
+pkgver=${_majver//-/.}.p${_patchver}
+pkgrel=1
+pkgdesc="Computer Algebra System for polynomial computations"
+arch=(i686 x86_64)
+url="http://www.singular.uni-kl.de/"
+license=(GPL)
+depends=(flint cddlib) # polymake
+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")
+md5sums=('5b5c67b2ff2e8fa12d2fc5afc327e2d8'
+         '3dce1e6533a1b4686f9730e0b534df65')
+
+prepare() {
+  cd singular-${_majver//-/.}
+# Fix build with NTL 10
+  patch -p1 -i ../singular-ntl10.patch
+}
+
+build() {
+  cd singular-${_majver//-/.}
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  make
+}
+
+package() {
+  cd singular-${_majver//-/.}
+  make DESTDIR="$pkgdir" install
+
+# fix permissions
+  chown -R root:root "$pkgdir"/usr/share
+# move singular.hlp to the path expected by SageMath
+  cp "$pkgdir"/usr/share/{info,singular}/singular.hlp
+}

Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 192590, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-19 14:32:05 UTC (rev 192591)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-0-3
+_patchver=4
+pkgver=${_majver//-/.}.p${_patchver}
+pkgrel=1
+pkgdesc="Computer Algebra System for polynomial computations"
+arch=(i686 x86_64)
+url="http://www.singular.uni-kl.de/"
+license=(GPL)
+depends=(flint cddlib) # polymake
+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")
+md5sums=('5b5c67b2ff2e8fa12d2fc5afc327e2d8'
+         '3dce1e6533a1b4686f9730e0b534df65')
+
+prepare() {
+  cd singular-${_majver//-/.}
+# Fix build with NTL 10
+  patch -p1 -i ../singular-ntl10.patch
+}
+
+build() {
+  cd singular-${_majver//-/.}
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  make
+}
+
+package() {
+  cd singular-${_majver//-/.}
+  make DESTDIR="$pkgdir" install
+
+# fix permissions
+  chown -R root:root "$pkgdir"/usr/share
+# move singular.hlp to the path expected by SageMath
+  cp "$pkgdir"/usr/share/{info,singular}/singular.hlp
+}



More information about the arch-commits mailing list