[arch-commits] Commit in singular/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Mar 19 15:59:19 UTC 2020
Date: Thursday, March 19, 2020 @ 15:59:19
Author: arojas
Revision: 600926
archrelease: copy trunk to community-testing-x86_64
Added:
singular/repos/community-testing-x86_64/
singular/repos/community-testing-x86_64/PKGBUILD
(from rev 600925, singular/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: singular/repos/community-testing-x86_64/PKGBUILD (from rev 600925, singular/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-03-19 15:59:19 UTC (rev 600926)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=singular
+_majver=4-1-2
+_patchver=5
+pkgver=${_majver//-/.}.p${_patchver}
+#pkgver=${_majver//-/.}
+pkgrel=1
+pkgdesc="Computer Algebra System for polynomial computations"
+arch=(x86_64)
+url="https://www.singular.uni-kl.de/"
+license=(GPL)
+depends=(flint cddlib)
+makedepends=(doxygen polymake)
+optdepends=('polymake: Polymake module')
+source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz")
+#source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
+sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f')
+options=(!zipman)
+
+build() {
+ cd singular-${_majver//-/.}
+ ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc
+# https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd singular-${_majver//-/.}
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 doc/singular.idx -t "$pkgdir"/usr/share/singular
+ # Fix ownership
+ chown -R root:root "$pkgdir"/usr/share/singular/html "$pkgdir"/usr/share/info "$pkgdir"/usr/share/singular/singular.idx
+}
More information about the arch-commits
mailing list