Date: Monday, February 17, 2020 @ 11:32:39 Author: arojas Revision: 574004
archrelease: copy trunk to community-x86_64 Added: singular/repos/community-x86_64/PKGBUILD (from rev 574003, singular/trunk/PKGBUILD) Deleted: singular/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 77 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-17 11:32:21 UTC (rev 574003) +++ PKGBUILD 2020-02-17 11:32:39 UTC (rev 574004) @@ -1,40 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> - -pkgname=singular -_majver=4-1-2 -_patchver=3 -pkgver=${_majver//-/.}.p${_patchver} -#pkgver=${_majver//-/.} -pkgrel=2 -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=('c2e202ed3968b2533d72e68856c559be1944f250ae210adec0ad0df09f065c52') -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 - - # Fix libpolys.pc - sed -e 's|@NTL_LIBS@|-lntl|g' -i "$pkgdir"/usr/lib/pkgconfig/libpolys.pc -} Copied: singular/repos/community-x86_64/PKGBUILD (from rev 574003, singular/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-17 11:32:39 UTC (rev 574004) @@ -0,0 +1,37 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> + +pkgname=singular +_majver=4-1-2 +_patchver=4 +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=('7b066001eee7b3269c0b68aeb2ee5fff4477d79988528ada9ed5a2cde2daee7e') +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 +}