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

Sergej Pupykin spupykin at archlinux.org
Tue May 5 10:51:21 UTC 2015


    Date: Tuesday, May 5, 2015 @ 12:51:21
  Author: spupykin
Revision: 132761

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 132759, lua-alt-getopt/trunk/LICENSE)
  lua-alt-getopt/repos/community-staging-any/PKGBUILD
    (from rev 132759, lua-alt-getopt/trunk/PKGBUILD)

----------+
 LICENSE  |    7 +++++++
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: lua-alt-getopt/repos/community-staging-any/LICENSE (from rev 132759, lua-alt-getopt/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2015-05-05 10:51:21 UTC (rev 132761)
@@ -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 132759, lua-alt-getopt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-05-05 10:51:21 UTC (rev 132761)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Old Maintainer: Gustavo Alvarez <sl1pkn07 at gmail.com>
+# contributor: Cameron Banta <cbanta at gmail.com>
+
+pkgbase=lua-alt-getopt
+pkgname=(lua-alt-getopt lua51-alt-getopt)
+pkgver=0.7.0
+pkgrel=6
+pkgdesc="Lua module for processing options similar to getopt_long(3) (5.1)"
+license=('MIT')
+arch=('any')
+url="http://luaforge.net/projects/alt-getopt/"
+makedepends=('bmake' 'lua' 'lua51')
+source=("http://mova.org/~cheusov/pub/lua_alt_getopt/lua-alt-getopt-${pkgver}.tar.gz"
+        'LICENSE')
+sha1sums=('431b590002f5fdced78e0745a9a283aefdd1dfa0'
+          'e471a511997528dd080d2997580499c37d06111a')
+
+build() {
+  cp -r "${pkgname}-${pkgver}" build51
+  cp -r "${pkgname}-${pkgver}" build52
+  cd $srcdir/build51
+  bmake LUAVER=5.1 PREFIX=/usr
+  cd $srcdir/build52
+  bmake LUAVER=5.2 PREFIX=/usr
+}
+
+package_lua51-alt-getopt() {
+  depends=('lua51')
+  cd $srcdir/build51
+  install -Dm755 alt_getopt "${pkgdir}/usr/bin/alt_getopt5.1"
+  install -Dm664 alt_getopt.lua "${pkgdir}/usr/share/lua/5.1/alt_getopt.lua"
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_lua-alt-getopt() {
+  depends=('lua')
+  cd $srcdir/build52
+  install -Dm755 alt_getopt "${pkgdir}/usr/bin/alt_getopt"
+  install -Dm664 alt_getopt.lua "${pkgdir}/usr/share/lua/5.2/alt_getopt.lua"
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list