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

Antonio Rojas arojas at archlinux.org
Thu Nov 17 20:29:08 UTC 2016


    Date: Thursday, November 17, 2016 @ 20:29:07
  Author: arojas
Revision: 196265

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 196264, singular/trunk/PKGBUILD)
  singular/repos/community-staging-x86_64/
  singular/repos/community-staging-x86_64/PKGBUILD
    (from rev 196264, singular/trunk/PKGBUILD)

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

Copied: singular/repos/community-staging-i686/PKGBUILD (from rev 196264, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-17 20:29:07 UTC (rev 196265)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-0
+#_patchver=5
+#pkgver=${_majver//-/.}.p${_patchver}
+pkgver=${_majver//-/.}
+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")
+source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
+md5sums=('14ea37ee7ddea2a8828c228d6e1c49c7')
+
+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
+  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
+}

Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 196264, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-17 20:29:07 UTC (rev 196265)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-0
+#_patchver=5
+#pkgver=${_majver//-/.}.p${_patchver}
+pkgver=${_majver//-/.}
+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")
+source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
+md5sums=('14ea37ee7ddea2a8828c228d6e1c49c7')
+
+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
+  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