[arch-commits] Commit in palp/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Oct 16 13:33:21 UTC 2020


    Date: Friday, October 16, 2020 @ 13:33:21
  Author: arojas
Revision: 724552

Update to 2.2

Modified:
  palp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 13:33:14 UTC (rev 724551)
+++ PKGBUILD	2020-10-16 13:33:21 UTC (rev 724552)
@@ -1,7 +1,8 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=palp
-pkgver=2.12
+epoch=1
+pkgver=2.2
 pkgrel=1
 pkgdesc="A Package for analyzing Lattice Polytopes"
 arch=(x86_64)
@@ -9,14 +10,8 @@
 license=(GPL3)
 depends=(glibc)
 source=("http://hep.itp.tuwien.ac.at/~kreuzer/CY/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('f47ad9317549cb33bb4a098cc53c4af7baff0f86164aa7b4c8b46b4fa09af626')
+sha256sums=('55e8e14380101c91e7e217d98b7e1523e4387054e287961eb161d1761b997a5c')
 
-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
@@ -25,7 +20,7 @@
     sed "s/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax $dim/" Global.h-template > Global.h
     make
     for file in poly class cws nef mori; do
-        mv ${file}.x bin/${file}-${dim}d.x
+      mv ${file}.x bin/${file}-${dim}d.x
     done
   done
 }



More information about the arch-commits mailing list