[arch-commits] Commit in luarocks/repos/community-any (8 files)

Daurnimator daurnimator at archlinux.org
Wed Sep 11 14:53:03 UTC 2019


    Date: Wednesday, September 11, 2019 @ 14:53:02
  Author: daurnimator
Revision: 509290

archrelease: copy trunk to community-any

Added:
  luarocks/repos/community-any/PKGBUILD
    (from rev 509289, luarocks/trunk/PKGBUILD)
  luarocks/repos/community-any/luarocks-admin.bash
    (from rev 509289, luarocks/trunk/luarocks-admin.bash)
  luarocks/repos/community-any/luarocks-admin.fish
    (from rev 509289, luarocks/trunk/luarocks-admin.fish)
  luarocks/repos/community-any/luarocks-admin.zsh
    (from rev 509289, luarocks/trunk/luarocks-admin.zsh)
  luarocks/repos/community-any/luarocks.bash
    (from rev 509289, luarocks/trunk/luarocks.bash)
  luarocks/repos/community-any/luarocks.fish
    (from rev 509289, luarocks/trunk/luarocks.fish)
  luarocks/repos/community-any/luarocks.zsh
    (from rev 509289, luarocks/trunk/luarocks.zsh)
Deleted:
  luarocks/repos/community-any/PKGBUILD

---------------------+
 PKGBUILD            |  107 +++++++++++++++++++++++++++++---------------------
 luarocks-admin.bash |    1 
 luarocks-admin.fish |    1 
 luarocks-admin.zsh  |    3 +
 luarocks.bash       |    1 
 luarocks.fish       |    1 
 luarocks.zsh        |    3 +
 7 files changed, 73 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-11 14:51:49 UTC (rev 509289)
+++ PKGBUILD	2019-09-11 14:53:02 UTC (rev 509290)
@@ -1,44 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-
-pkgname=luarocks
-pkgver=3.1.3
-pkgrel=1
-pkgdesc='Deployment and management system for Lua modules'
-backup=(etc/luarocks/config-5.{1,2,3}.lua)
-arch=('any')
-url='https://luarocks.org/'
-license=('custom')
-replaces=('luarocks5.1' 'luarocks5.2')
-depends=('coreutils' # need chmod, md5sum
-         'curl' # need one of curl or wget
-         'lua'
-         'unzip' # need unzip and zip or lua-zlib
-         'zip')
-optdepends=('cvs: for fetching sources from CVS repositories'
-            'git: for fetching sources from git repositories'
-            'mercurial: for fetching sources from mercurial repositories'
-            'cmake: for building rocks that use the cmake build system'
-            'lua-sec: HTTPS support')
-source=("https://luarocks.org/releases/$pkgname-$pkgver.tar.gz"{,.asc})
-md5sums=('a5c7487a62c9916547f83ed947a5022b'
-         'SKIP')
-validpgpkeys=('8460980B2B79786DE0C7FCC83FD8F43C2BB3C478')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make ./build/luarocks ./build/luarocks-admin ./build/config-5.3.lua
-  make LUA_VERSION=5.1 LUA_INTERPRETER=lua5.1 LUA_INCDIR=/usr/include/lua5.1 ./build/config-5.1.lua
-  make LUA_VERSION=5.2 LUA_INTERPRETER=lua5.2 LUA_INCDIR=/usr/include/lua5.2 ./build/config-5.2.lua
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" LUA_VERSION=5.1 install-config
-  make DESTDIR="$pkgdir" LUA_VERSION=5.2 install-config
-  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: luarocks/repos/community-any/PKGBUILD (from rev 509289, luarocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1,63 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+
+pkgname=luarocks
+pkgver=3.2.1
+pkgrel=1
+pkgdesc='Deployment and management system for Lua modules'
+backup=(etc/luarocks/config-5.{1,2,3}.lua)
+arch=('any')
+url='https://luarocks.org/'
+license=('custom')
+replaces=('luarocks5.1' 'luarocks5.2')
+depends=('coreutils' # need chmod, md5sum
+         'curl' # need one of curl or wget
+         'lua'
+         'unzip' # need unzip and zip or lua-zlib
+         'zip')
+optdepends=('cvs: for fetching sources from CVS repositories'
+            'git: for fetching sources from git repositories'
+            'mercurial: for fetching sources from mercurial repositories'
+            'cmake: for building rocks that use the cmake build system'
+            'lua-sec: HTTPS support')
+source=("https://luarocks.org/releases/$pkgname-$pkgver.tar.gz"{,.asc}
+        "luarocks.bash"
+        "luarocks.fish"
+        "luarocks.zsh"
+        "luarocks-admin.bash"
+        "luarocks-admin.fish"
+        "luarocks-admin.zsh")
+md5sums=('236ea48b78ddb96ecbd33654a573bdb2'
+         'SKIP'
+         '781392de1a3b8dc21077165862bbfeec'
+         'adfd09f3b8a522675f6954472a1fe72f'
+         '2b81640e9d0ae96c7d0e5b145ab69ffc'
+         '6001f9e83c8946ac6ef68c6bcbc38348'
+         '1c192564378718b918573da36d5589f3'
+         '7f9021c0acf9709a2907b5232ef62577')
+validpgpkeys=('8460980B2B79786DE0C7FCC83FD8F43C2BB3C478')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make ./build/luarocks ./build/luarocks-admin ./build/config-5.3.lua
+  make LUA_VERSION=5.1 LUA_INTERPRETER=lua5.1 LUA_INCDIR=/usr/include/lua5.1 ./build/config-5.1.lua
+  make LUA_VERSION=5.2 LUA_INTERPRETER=lua5.2 LUA_INCDIR=/usr/include/lua5.2 ./build/config-5.2.lua
+}
+
+package() {
+  install -Dm644 luarocks.bash "$pkgdir/usr/share/bash-completion/completions/luarocks"
+  install -Dm644 luarocks.fish "$pkgdir/usr/share/fish/vendor_completions.d/luarocks.fish"
+  install -Dm644 luarocks.zsh "$pkgdir/usr/share/zsh/site-functions/_luarocks"
+  install -Dm644 luarocks-admin.bash "$pkgdir/usr/share/bash-completion/completions/luarocks-admin"
+  install -Dm644 luarocks-admin.fish "$pkgdir/usr/share/fish/vendor_completions.d/luarocks-admin.fish"
+  install -Dm644 luarocks-admin.zsh "$pkgdir/usr/share/zsh/site-functions/_luarocks-admin"
+
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" LUA_VERSION=5.1 install-config
+  make DESTDIR="$pkgdir" LUA_VERSION=5.2 install-config
+  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: luarocks/repos/community-any/luarocks-admin.bash (from rev 509289, luarocks/trunk/luarocks-admin.bash)
===================================================================
--- luarocks-admin.bash	                        (rev 0)
+++ luarocks-admin.bash	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1 @@
+source <(luarocks-admin completion bash)

Copied: luarocks/repos/community-any/luarocks-admin.fish (from rev 509289, luarocks/trunk/luarocks-admin.fish)
===================================================================
--- luarocks-admin.fish	                        (rev 0)
+++ luarocks-admin.fish	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1 @@
+luarocks-admin completion fish | source

Copied: luarocks/repos/community-any/luarocks-admin.zsh (from rev 509289, luarocks/trunk/luarocks-admin.zsh)
===================================================================
--- luarocks-admin.zsh	                        (rev 0)
+++ luarocks-admin.zsh	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1,3 @@
+#compdef luarocks-admin
+
+source <(luarocks-admin completion zsh)

Copied: luarocks/repos/community-any/luarocks.bash (from rev 509289, luarocks/trunk/luarocks.bash)
===================================================================
--- luarocks.bash	                        (rev 0)
+++ luarocks.bash	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1 @@
+source <(luarocks completion bash)

Copied: luarocks/repos/community-any/luarocks.fish (from rev 509289, luarocks/trunk/luarocks.fish)
===================================================================
--- luarocks.fish	                        (rev 0)
+++ luarocks.fish	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1 @@
+luarocks completion fish | source

Copied: luarocks/repos/community-any/luarocks.zsh (from rev 509289, luarocks/trunk/luarocks.zsh)
===================================================================
--- luarocks.zsh	                        (rev 0)
+++ luarocks.zsh	2019-09-11 14:53:02 UTC (rev 509290)
@@ -0,0 +1,3 @@
+#compdef luarocks
+
+source <(luarocks completion zsh)


More information about the arch-commits mailing list