Date: Friday, June 24, 2022 @ 14:40:30 Author: arojas Revision: 1239356
archrelease: copy trunk to community-staging-x86_64 Added: normaliz/repos/community-staging-x86_64/ normaliz/repos/community-staging-x86_64/PKGBUILD (from rev 1239355, normaliz/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: normaliz/repos/community-staging-x86_64/PKGBUILD (from rev 1239355, normaliz/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-24 14:40:30 UTC (rev 1239356) @@ -0,0 +1,28 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Tarn Burton <twburton at gmail dot com> + +pkgname=normaliz +pkgver=3.9.3 +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=(nauty) +source=(https://github.com/Normaliz/Normaliz/releases/download/v$pkgver/Normaliz-$pkgver.tar.gz) +sha256sums=('0288f410428a0eebe10d2ed6795c8906712848c7ae5966442ce164adc2429657') + +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 +}