[arch-commits] Commit in palp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed May 30 21:43:54 UTC 2018
Date: Wednesday, May 30, 2018 @ 21:43:53
Author: arojas
Revision: 333528
archrelease: copy trunk to community-x86_64
Added:
palp/repos/community-x86_64/PKGBUILD
(from rev 333527, palp/trunk/PKGBUILD)
Deleted:
palp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-30 21:43:30 UTC (rev 333527)
+++ PKGBUILD 2018-05-30 21:43:53 UTC (rev 333528)
@@ -1,39 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=palp
-pkgver=2.1
-pkgrel=1
-pkgdesc="A Package for analyzing Lattice Polytopes"
-arch=('i686' '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")
-md5sums=('f3791acd2e60846cb63bc98e87ad7509')
-
-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
- mkdir -p "$pkgdir"/usr/bin
- pushd bin
- for exe in *.x; do
- install -m 755 $exe "$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 333527, palp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-30 21:43:53 UTC (rev 333528)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=palp
+pkgver=2.1
+pkgrel=2
+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=('3a3b7c746f92a74b91d47879de2bc14b8fda9a1e503f7fbc0f2f02571815fae8')
+
+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