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

Antonio Rojas arojas at archlinux.org
Mon Sep 2 17:57:56 UTC 2019


    Date: Monday, September 2, 2019 @ 17:57:55
  Author: arojas
Revision: 507059

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

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

Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 507058, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-09-02 17:57:55 UTC (rev 507059)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.5
+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/"
+license=(GPL)
+depends=(4ti2 ntl cddlib lidia)
+source=("https://github.com/latte-int/latte/releases/download/version_${pkgver//./_}/latte-int-$pkgver.tar.gz")
+sha256sums=('733139f206518d0a20f42d1e280428be901f7d29189b2c7845382cbd538953de')
+
+build() {
+  cd latte-int-$pkgver
+
+  ./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