Date: Sunday, April 8, 2018 @ 21:03:37 Author: arojas Revision: 315294
archrelease: copy trunk to community-staging-x86_64 Added: latte-integrale/repos/community-staging-x86_64/ latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 315293, latte-integrale/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 315293, latte-integrale/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-08 21:03:37 UTC (rev 315294) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=latte-integrale +pkgver=1.7.3 +pkgrel=5 +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/" +license=(GPL) +depends=(4ti2 ntl cddlib lidia) +source=("https://www.math.ucdavis.edu/~latte/software/packages/latte_current/latte-int-$pkgver.tar.gz") +sha256sums=('b6777067d11a454e4dbaf5af8fb227d2b66960d79245ea967192738ad2a1e76c') + +build() { + cd latte-int-$pkgver + + export CXXFLAGS="-DNTL_STD_CXX $CXXFLAGS" + export LDFLAGS+=" -lpthread" + ./configure --prefix=/usr --enable-shared --with-ntl=/usr + make +} + +package() { + cd latte-int-$pkgver + make DESTDIR="$pkgdir" install + +# Fix conflicts with LLVM + mv "$pkgdir"/usr/bin/{count,latte-count} +} +