Date: Wednesday, January 1, 2020 @ 19:16:20
  Author: arojas
Revision: 545891

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

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

Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 
545890, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-01 19:16:20 UTC (rev 545891)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=latte-integrale
+pkgver=1.7.5
+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://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}
+}
+

Reply via email to