[arch-commits] Commit in palp/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


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

archrelease: copy trunk to community-x86_64

Added:
  palp/repos/community-x86_64/PKGBUILD
    (from rev 724552, palp/trunk/PKGBUILD)
Deleted:
  palp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 38 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 13:33:21 UTC (rev 724552)
+++ PKGBUILD	2020-10-16 13:33:33 UTC (rev 724553)
@@ -1,43 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=palp
-pkgver=2.12
-pkgrel=1
-pkgdesc="A Package for analyzing Lattice Polytopes"
-arch=(x86_64)
-url="http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html"
-license=(GPL3)
-depends=(glibc)
-source=("http://hep.itp.tuwien.ac.at/~kreuzer/CY/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('f47ad9317549cb33bb4a098cc53c4af7baff0f86164aa7b4c8b46b4fa09af626')
-
-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
-  mv Global.h Global.h-template
-  for dim in 4 5 6 11; do
-    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
-    done
-  done
-}
-
-package() {
-  cd $pkgname-$pkgver
-  pushd bin
-    for exe in *.x; do
-	install -Dm755 $exe -t "$pkgdir"/usr/bin
-    done
-  popd
-  for file in poly class cws nef mori; do
-    ln -sf ${file}-6d.x "$pkgdir"/usr/bin/${file}.x
-  done
-}

Copied: palp/repos/community-x86_64/PKGBUILD (from rev 724552, palp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-16 13:33:33 UTC (rev 724553)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=palp
+epoch=1
+pkgver=2.2
+pkgrel=1
+pkgdesc="A Package for analyzing Lattice Polytopes"
+arch=(x86_64)
+url="http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html"
+license=(GPL3)
+depends=(glibc)
+source=("http://hep.itp.tuwien.ac.at/~kreuzer/CY/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('55e8e14380101c91e7e217d98b7e1523e4387054e287961eb161d1761b997a5c')
+
+build() {
+  cd $pkgname-$pkgver
+  mkdir bin
+  mv Global.h Global.h-template
+  for dim in 4 5 6 11; do
+    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
+    done
+  done
+}
+
+package() {
+  cd $pkgname-$pkgver
+  pushd bin
+    for exe in *.x; do
+	install -Dm755 $exe -t "$pkgdir"/usr/bin
+    done
+  popd
+  for file in poly class cws nef mori; do
+    ln -sf ${file}-6d.x "$pkgdir"/usr/bin/${file}.x
+  done
+}



More information about the arch-commits mailing list