Date: Friday, June 5, 2020 @ 19:33:18 Author: arojas Revision: 639191
archrelease: copy trunk to community-staging-x86_64 Added: normaliz/repos/community-staging-x86_64/ normaliz/repos/community-staging-x86_64/PKGBUILD (from rev 639190, normaliz/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: normaliz/repos/community-staging-x86_64/PKGBUILD (from rev 639190, normaliz/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-06-05 19:33:18 UTC (rev 639191) @@ -0,0 +1,28 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Tarn Burton <twburton at gmail dot com> + +pkgname=normaliz +pkgver=3.8.5 +pkgrel=2 +pkgdesc="A tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones." +arch=(x86_64) +url="https://www.normaliz.uni-osnabrueck.de/" +license=(GPL) +depends=(e-antic) +makedepends=(boost nauty) +source=("https://github.com/Normaliz/Normaliz/releases/download/v$pkgver/Normaliz-$pkgver.tar.gz") +sha256sums=('cf4fdaaa6ffcd8d268b1f16dd4b64cf86f1eab55177e611f8ef672e7365435a0') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + #https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}