[arch-commits] Commit in lua-alt-getopt/repos (3 files)

Daurnimator daurnimator at archlinux.org
Sun Jul 5 09:28:58 UTC 2020


    Date: Sunday, July 5, 2020 @ 09:28:56
  Author: daurnimator
Revision: 657774

archrelease: copy trunk to community-staging-any

Added:
  lua-alt-getopt/repos/community-staging-any/
  lua-alt-getopt/repos/community-staging-any/LICENSE
    (from rev 657773, lua-alt-getopt/trunk/LICENSE)
  lua-alt-getopt/repos/community-staging-any/PKGBUILD
    (from rev 657773, lua-alt-getopt/trunk/PKGBUILD)

----------+
 LICENSE  |    7 +++++++
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

Copied: lua-alt-getopt/repos/community-staging-any/LICENSE (from rev 657773, lua-alt-getopt/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2020-07-05 09:28:56 UTC (rev 657774)
@@ -0,0 +1,7 @@
+Copyright © 2008 Lua.org, PUC-Rio.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 

Copied: lua-alt-getopt/repos/community-staging-any/PKGBUILD (from rev 657773, lua-alt-getopt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-05 09:28:56 UTC (rev 657774)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Old Maintainer: Gustavo Alvarez <sl1pkn07 at gmail.com>
+# contributor: Cameron Banta <cbanta at gmail.com>
+
+pkgbase=lua-alt-getopt
+pkgname=(lua51-alt-getopt lua52-alt-getopt lua53-alt-getopt)
+pkgver=0.7.0
+pkgrel=9
+pkgdesc="Lua module for processing options similar to getopt_long(3)"
+license=('MIT')
+arch=('any')
+url="http://luaforge.net/projects/alt-getopt/"
+source=("http://mova.org/~cheusov/pub/lua_alt_getopt/lua-alt-getopt-${pkgver}.tar.gz"
+        'LICENSE')
+sha512sums=('379db696180e2bbb6e472ebe56e921c9736ee89ad673b296d0e580f100617a10dd5b44fdd665298ac87a44bbf8b5c330696653ec6d62ccaebc22120debf3c91f'
+            'f4c04e8a6bdbc737e04672f7751fcfb709e34c87df69ddfada0b0e22480f5ffd7daf21f266699e5b2955ff781f5a4aa574a614646896d12c994bc7b9282b0f67')
+
+package_lua51-alt-getopt() {
+  cd "${pkgbase}-${pkgver}"
+  install -Dm644 alt_getopt.lua "${pkgdir}/usr/share/lua/5.1/alt_getopt.lua"
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_lua52-alt-getopt() {
+  cd "${pkgbase}-${pkgver}"
+  install -Dm644 alt_getopt.lua "${pkgdir}/usr/share/lua/5.2/alt_getopt.lua"
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_lua53-alt-getopt() {
+  cd "${pkgbase}-${pkgver}"
+  install -Dm644 alt_getopt.lua "${pkgdir}/usr/share/lua/5.3/alt_getopt.lua"
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# Library does not support lua5.4


More information about the arch-commits mailing list