[arch-commits] Commit in latte-integrale/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Sep 7 22:48:17 UTC 2019
Date: Saturday, September 7, 2019 @ 22:48:17
Author: arojas
Revision: 508535
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 508534, latte-integrale/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 508534, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-09-07 22:48:17 UTC (rev 508535)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.5
+pkgrel=3
+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