[arch-commits] Commit in latte-integrale/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 21 07:43:32 UTC 2021


    Date: Monday, June 21, 2021 @ 07:43:32
  Author: arojas
Revision: 966414

ntl 11.5 rebuild

Modified:
  latte-integrale/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-21 07:42:42 UTC (rev 966413)
+++ PKGBUILD	2021-06-21 07:43:32 UTC (rev 966414)
@@ -2,18 +2,19 @@
 
 pkgname=latte-integrale
 pkgver=1.7.6
-pkgrel=1
-pkgdesc="Computer software dedicated to the problems of counting lattice points and integration inside convex polytopes"
+pkgrel=2
+pkgdesc='Computer software dedicated to the problems of counting lattice points and integration inside convex polytopes'
 arch=(x86_64)
-url="https://www.math.ucdavis.edu/~latte/"
+url='https://www.math.ucdavis.edu/~latte/'
 license=(GPL)
 depends=(4ti2 ntl cddlib lidia)
-source=("https://github.com/latte-int/latte/releases/download/version_${pkgver//./_}/latte-int-$pkgver.tar.gz")
+source=(https://github.com/latte-int/latte/releases/download/version_${pkgver//./_}/latte-int-$pkgver.tar.gz)
 sha256sums=('006c10ebe5d5bfdc9b159cba6264a4432861fe763ce05fe821624ab7d3fc2170')
 
 build() {
   cd latte-int-$pkgver
 
+  export CXXFLAGS+=" -std=c++14" # Fix build with GCC 11
   ./configure --prefix=/usr --enable-shared --with-ntl=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
   make



More information about the arch-commits mailing list