[arch-commits] Commit in palp/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri May 15 10:15:56 UTC 2020
Date: Friday, May 15, 2020 @ 10:15:55
Author: arojas
Revision: 628025
Update to 2.11, honor system CFLAGS
Modified:
palp/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-15 09:54:45 UTC (rev 628024)
+++ PKGBUILD 2020-05-15 10:15:55 UTC (rev 628025)
@@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=palp
-pkgver=2.1
-pkgrel=2
+pkgver=2.11
+pkgrel=1
pkgdesc="A Package for analyzing Lattice Polytopes"
arch=(x86_64)
url="http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html"
@@ -9,8 +9,14 @@
license=(GPL3)
depends=(glibc)
source=("http://hep.itp.tuwien.ac.at/~kreuzer/CY/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('3a3b7c746f92a74b91d47879de2bc14b8fda9a1e503f7fbc0f2f02571815fae8')
+sha256sums=('84a2338a994ccbb93adbef91610832311aafca814ab9f05e0c49e3d9b2f68426')
+prepare() {
+ cd $pkgname-$pkgver
+# Honor system cflags
+ sed -e "s|^CFLAGS=.*|CFLAGS=${CPPFLAGS} ${CFLAGS} ${LDFLAGS}|" -i Makefile -i GNUmakefile
+}
+
build() {
cd $pkgname-$pkgver
mkdir bin
More information about the arch-commits
mailing list