[arch-commits] Commit in singular/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Feb 7 07:29:57 UTC 2018
Date: Wednesday, February 7, 2018 @ 07:29:51
Author: arojas
Revision: 289696
archrelease: copy trunk to community-staging-x86_64
Added:
singular/repos/community-staging-x86_64/PKGBUILD
(from rev 289695, singular/trunk/PKGBUILD)
Deleted:
singular/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 42 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-07 07:29:14 UTC (rev 289695)
+++ PKGBUILD 2018-02-07 07:29:51 UTC (rev 289696)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=singular
-_majver=4-1-0
-_patchver=4
-pkgver=${_majver//-/.}.p${_patchver}
-#pkgver=${_majver//-/.}
-pkgrel=1
-pkgdesc="Computer Algebra System for polynomial computations"
-arch=(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")
-sha256sums=('9aef5ec4be8ef1317727686fb5f4e2e80020c3c47b3c762612a594acd4eff0f8')
-options=(!zipman)
-
-build() {
- cd singular-${_majver//-/.}
- ./configure --prefix=/usr --libexecdir=/usr/lib
- make
-}
-
-package() {
- cd singular-${_majver//-/.}
- make DESTDIR="$pkgdir" install
-
- # Fix ownership
- chown -R root:root "$pkgdir"/usr/share/singular/html "$pkgdir"/usr/share/info
-}
Copied: singular/repos/community-staging-x86_64/PKGBUILD (from rev 289695, singular/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-07 07:29:51 UTC (rev 289696)
@@ -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-1-0
+_patchver=4
+pkgver=${_majver//-/.}.p${_patchver}
+#pkgver=${_majver//-/.}
+pkgrel=2
+pkgdesc="Computer Algebra System for polynomial computations"
+arch=(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")
+sha256sums=('9aef5ec4be8ef1317727686fb5f4e2e80020c3c47b3c762612a594acd4eff0f8')
+options=(!zipman)
+
+prepare() {
+ cd singular-${_majver//-/.}
+
+# Rename macro that conflicts with PARI
+ find -type f | xargs sed -e 's|LOG2|SINGULARLOG2|g' -i
+}
+
+build() {
+ cd singular-${_majver//-/.}
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ cd singular-${_majver//-/.}
+ make DESTDIR="$pkgdir" install
+
+ # Fix ownership
+ chown -R root:root "$pkgdir"/usr/share/singular/html "$pkgdir"/usr/share/info
+}
More information about the arch-commits
mailing list