[arch-commits] Commit in lua-argparse/repos (2 files)

Daurnimator daurnimator at archlinux.org
Sun Jul 5 09:33:20 UTC 2020


    Date: Sunday, July 5, 2020 @ 09:33:19
  Author: daurnimator
Revision: 657776

archrelease: copy trunk to community-staging-any

Added:
  lua-argparse/repos/community-staging-any/
  lua-argparse/repos/community-staging-any/PKGBUILD
    (from rev 657775, lua-argparse/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: lua-argparse/repos/community-staging-any/PKGBUILD (from rev 657775, lua-argparse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-05 09:33:19 UTC (rev 657776)
@@ -0,0 +1,42 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=('lua-argparse' 'lua51-argparse' 'lua52-argparse' 'lua53-argparse')
+pkgver=0.7.0
+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")
+sha512sums=('81aa94a7f522fcee9cefc5fd86d845bc375308e01c3cc90023ec9a0f42e0ce382c6708acb4269e0a8b200d1f13f394fb11acc97bfbb3253f0779966c5b2a36bf')
+
+package_lua-argparse() {
+	pkgdesc='Feature-rich command line parser for Lua 5.4'
+
+	cd "argparse-$pkgver"
+	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.4/argparse.lua"
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-argparse() {
+	pkgdesc='Feature-rich command line parser for Lua 5.1'
+
+	cd "argparse-$pkgver"
+	install -Dm644 src/argparse.lua "$pkgdir/usr/share/lua/5.1/argparse.lua"
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-argparse() {
+	pkgdesc='Feature-rich command line parser for Lua 5.2'
+
+	cd "argparse-$pkgver"
+	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