[arch-commits] Commit in polymake/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Jan 14 13:41:24 UTC 2022
Date: Friday, January 14, 2022 @ 13:41:24
Author: arojas
Revision: 1103232
archrelease: copy trunk to community-staging-x86_64
Added:
polymake/repos/community-staging-x86_64/
polymake/repos/community-staging-x86_64/PKGBUILD
(from rev 1103231, polymake/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: polymake/repos/community-staging-x86_64/PKGBUILD (from rev 1103231, polymake/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-01-14 13:41:24 UTC (rev 1103232)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=polymake
+pkgver=4.6
+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 nauty)
+optdepends=('java-runtime: java module')
+source=(https://polymake.org/lib/exe/fetch.php/download/polymake-${pkgver/.r/r}-minimal.tar.bz2)
+sha256sums=('423a44ddef11eaea8457ab15dd5d86ddb7a8bcc6c9bb11776f9e2958d7dcf9d0')
+
+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
+}
More information about the arch-commits
mailing list