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

Daurnimator daurnimator at archlinux.org
Sun Jul 5 09:32:56 UTC 2020


    Date: Sunday, July 5, 2020 @ 09:32:55
  Author: daurnimator
Revision: 657775

upgpkg: lua-argparse 0.7.0-2: lua package is becoming Lua 5.4

Modified:
  lua-argparse/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 09:28:56 UTC (rev 657774)
+++ PKGBUILD	2020-07-05 09:32:55 UTC (rev 657775)
@@ -1,19 +1,19 @@
 # Maintainer: Daurnimator <daurnimator at archlinux.org>
 
-pkgname=('lua-argparse' 'lua51-argparse' 'lua52-argparse')
+pkgname=('lua-argparse' 'lua51-argparse' 'lua52-argparse' 'lua53-argparse')
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 arch=('any')
 url='https://github.com/luarocks/argparse'
 license=('MIT')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/luarocks/argparse/archive/$pkgver.tar.gz")
-md5sums=('ce85aef727ae550746c7d742c781cc28')
+sha512sums=('81aa94a7f522fcee9cefc5fd86d845bc375308e01c3cc90023ec9a0f42e0ce382c6708acb4269e0a8b200d1f13f394fb11acc97bfbb3253f0779966c5b2a36bf')
 
 package_lua-argparse() {
-	pkgdesc='Feature-rich command line parser for Lua 5.3'
+	pkgdesc='Feature-rich command line parser for Lua 5.4'
 
 	cd "argparse-$pkgver"
-	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.3/argparse.lua"
+	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.4/argparse.lua"
 	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
@@ -32,3 +32,11 @@
 	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.2/argparse.lua"
 	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
+
+package_lua53-argparse() {
+	pkgdesc='Feature-rich command line parser for Lua 5.3'
+
+	cd "argparse-$pkgver"
+	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.3/argparse.lua"
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list