[arch-commits] Commit in lua-argparse/repos (community-any community-any/PKGBUILD)

Daurnimator daurnimator at archlinux.org
Fri Aug 16 08:59:48 UTC 2019


    Date: Friday, August 16, 2019 @ 08:59:48
  Author: daurnimator
Revision: 499825

archrelease: copy trunk to community-any

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

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

Copied: lua-argparse/repos/community-any/PKGBUILD (from rev 499824, lua-argparse/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-08-16 08:59:48 UTC (rev 499825)
@@ -0,0 +1,34 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=('lua-argparse' 'lua51-argparse' 'lua52-argparse')
+pkgver=0.7.0
+pkgrel=1
+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')
+
+package_lua-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"
+}
+
+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"
+}


More information about the arch-commits mailing list