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

Antonio Rojas arojas at archlinux.org
Tue Jul 9 06:35:52 UTC 2019


    Date: Tuesday, July 9, 2019 @ 06:35:52
  Author: arojas
Revision: 487767

Update to 070.a

Modified:
  lrs/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-09 04:47:04 UTC (rev 487766)
+++ PKGBUILD	2019-07-09 06:35:52 UTC (rev 487767)
@@ -1,7 +1,8 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=lrs
-pkgver=070
+pkgver=070.a
+_pkgver=${pkgver/./}
 pkgrel=1
 pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
 arch=(x86_64)
@@ -8,22 +9,22 @@
 url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
 license=(GPL)
 depends=(gmp)
-source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$pkgver.tar.gz"
+source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz"
         lrs-system-cflags.patch)
-sha256sums=('e9f12b29be89b3ad6984f3a9cf83f5776ac06edc57b0716649e63395e5ac4dfe'
+sha256sums=('601f4cef3d07676076256dd2687143047457217cbc658706b00a52e25f0701fd'
             '23814d543e458f43b9871f5de6112f3ca331d8ded3449c7e2efa681ca5a6606f')
 
 prepare() {
-  cd lrslib-$pkgver
+  cd lrslib-$_pkgver
   patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
 }
 
 build() {
-  cd lrslib-$pkgver
+  cd lrslib-$_pkgver
   make -j1
 }
 
 package() {
-  cd lrslib-$pkgver
+  cd lrslib-$_pkgver
   make DESTDIR="$pkgdir" prefix=/usr install
 }


More information about the arch-commits mailing list