Date: Friday, February 14, 2020 @ 22:02:33
  Author: arojas
Revision: 571344

archrelease: copy trunk to community-staging-x86_64

Added:
  polymake/repos/community-staging-x86_64/
  polymake/repos/community-staging-x86_64/PKGBUILD
    (from rev 571343, polymake/trunk/PKGBUILD)
  polymake/repos/community-staging-x86_64/polymake-normaliz-3.8.3.patch
    (from rev 571343, polymake/trunk/polymake-normaliz-3.8.3.patch)

-------------------------------+
 PKGBUILD                      |   31 +++++++++++++++++++++++++++++++
 polymake-normaliz-3.8.3.patch |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: polymake/repos/community-staging-x86_64/PKGBUILD (from rev 571343, 
polymake/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-14 22:02:33 UTC (rev 571344)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+
+pkgname=polymake
+pkgver=4.0
+pkgrel=2
+pkgdesc="Open source software for research in polyhedral geometry"
+arch=(x86_64)
+url="https://polymake.org/";
+license=(GPL)
+depends=(normaliz singular ppl lrs perl-xml-writer perl-xml-libxml 
perl-xml-libxslt
+         perl-term-readline-gnu perl-term-readkey perl-json sympol)
+makedepends=(ninja cddlib ant boost bliss libnsl jdk8-openjdk permlib)
+optdepends=('java-runtime: java module')
+source=("https://polymake.org/lib/exe/fetch.php/download/polymake-$pkgver-minimal.tar.bz2";)
+sha256sums=('f6d350758377b240e78d16781555c5679bc36f98e181cff17490c963eac49c5b')
+
+build() {
+  cd polymake-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --with-cdd=/usr \
+    --with-lrs=/usr \
+    --with-permlib=/usr \
+    --with-sympol=/usr
+  make
+}
+
+package() {
+  cd polymake-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: polymake/repos/community-staging-x86_64/polymake-normaliz-3.8.3.patch 
(from rev 571343, polymake/trunk/polymake-normaliz-3.8.3.patch)
===================================================================
--- community-staging-x86_64/polymake-normaliz-3.8.3.patch                      
        (rev 0)
+++ community-staging-x86_64/polymake-normaliz-3.8.3.patch      2020-02-14 
22:02:33 UTC (rev 571344)
@@ -0,0 +1,11 @@
+--- polymake-3.6/bundled/libnormaliz/support/configure.pl.orig 2019-12-11 
12:29:31.089671103 +0000
++++ polymake-3.6/bundled/libnormaliz/support/configure.pl      2019-12-11 
12:29:52.549969615 +0000
+@@ -69,7 +69,7 @@
+    }
+ 
+    if ($nmz_path ne "bundled") {
+-      my $error=Polymake::Configure::build_test_program(<<'---', LIBS => 
"-lnormaliz -lgmpxx -lgmp", CXXFLAGS => "$CXXFLAGS", LDFLAGS => "$LDFLAGS");
++      my $error=Polymake::Configure::build_test_program(<<'---', LIBS => 
"-lnormaliz -lgmpxx -lgmp -leantic", CXXFLAGS => "$CXXFLAGS", LDFLAGS => 
"$LDFLAGS");
+ 
+ #include <cstddef>
+ #include <vector>

Reply via email to