Date: Tuesday, May 18, 2021 @ 13:55:52 Author: arojas Revision: 936256
archrelease: copy trunk to community-staging-x86_64 Added: polymake/repos/community-staging-x86_64/ polymake/repos/community-staging-x86_64/PKGBUILD (from rev 936255, polymake/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: polymake/repos/community-staging-x86_64/PKGBUILD (from rev 936255, polymake/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-05-18 13:55:52 UTC (rev 936256) @@ -0,0 +1,32 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=polymake +pkgver=4.4 +pkgrel=1 +_perlver=`perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]).".".($v->[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 perl=$_perlver) +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/.r/r}-minimal.tar.bz2) +sha256sums=('da7179176c739c8efba65d93b25af103c1cba70e1f9b35673ce33c37790ec091') + +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 +}