[arch-commits] Commit in singular/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Jan 12 17:45:55 UTC 2017
Date: Thursday, January 12, 2017 @ 17:45:55
Author: arojas
Revision: 207047
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 207046, singular/trunk/PKGBUILD)
singular/repos/community-staging-x86_64/
singular/repos/community-staging-x86_64/PKGBUILD
(from rev 207046, singular/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: singular/repos/community-staging-i686/PKGBUILD (from rev 207046, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-12 17:45:55 UTC (rev 207047)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-0
+_patchver=1
+pkgver=${_majver//-/.}.p${_patchver}
+#pkgver=${_majver//-/.}
+pkgrel=2
+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=('fee4999c27050ff2a0b8512ed59ac766')
+options=(!zipman)
+
+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
+}
Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 207046, singular/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-01-12 17:45:55 UTC (rev 207047)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-0
+_patchver=1
+pkgver=${_majver//-/.}.p${_patchver}
+#pkgver=${_majver//-/.}
+pkgrel=2
+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=('fee4999c27050ff2a0b8512ed59ac766')
+options=(!zipman)
+
+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
+}
More information about the arch-commits
mailing list