[arch-commits] Commit in latte-integrale/repos (2 files)

Antonio Rojas arojas at archlinux.org
Fri Aug 17 19:39:41 UTC 2018


    Date: Friday, August 17, 2018 @ 19:39:40
  Author: arojas
Revision: 372546

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 372545, latte-integrale/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 372545, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-17 19:39:40 UTC (rev 372546)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.3
+pkgrel=9
+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}
+}
+



More information about the arch-commits mailing list