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

2019-02-11 Thread Jiachen Yang via arch-commits
Date: Tuesday, February 12, 2019 @ 07:34:31
  Author: farseerfc
Revision: 431849

archrelease: copy trunk to community-testing-any

Added:
  luarocks/repos/community-testing-any/
  luarocks/repos/community-testing-any/PKGBUILD
(from rev 431848, luarocks/trunk/PKGBUILD)

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

Copied: luarocks/repos/community-testing-any/PKGBUILD (from rev 431848, 
luarocks/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-02-12 07:34:31 UTC (rev 431849)
@@ -0,0 +1,97 @@
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Chris Brannon 
+# Contributor: Geoffroy Carrier 
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
+pkgver=3.0.4
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51' 'lua52')
+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')
+options=('!makeflags')
+source=(https://luarocks.org/releases/$pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('b67be533e0e027a26e3fd2b566ac938f'
+ 'SKIP')
+validpgpkeys=(8460980B2B79786DE0C7FCC83FD8F43C2BB3C478)
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--lua-version=5.3 \
+--with-lua-include=/usr/include \
+--versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--lua-version=5.1 \
+--lua-suffix=5.1 \
+--with-lua-include=/usr/include/lua5.1 \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+  cd ../${pkgbase}5.2-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--lua-version=5.2 \
+--lua-suffix=5.2 \
+--with-lua-include=/usr/include/lua5.2 \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.3 modules'
+  backup=('etc/luarocks/config-5.3.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  cp "$pkgdir"/usr/bin/luarocks{,-5.3}
+  cp "$pkgdir"/usr/bin/luarocks-admin{,-5.3}
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  mv "$pkgdir"/usr/bin/luarocks{,-5.1}
+  mv "$pkgdir"/usr/bin/luarocks-admin{,-5.1}
+}
+
+package_luarocks5.2() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua52')
+  optdepends+=('lua52-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  mv "$pkgdir"/usr/bin/luarocks{,-5.2}
+  mv "$pkgdir"/usr/bin/luarocks-admin{,-5.2}
+}


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

2016-10-06 Thread Anatol Pomozov
Date: Thursday, October 6, 2016 @ 21:51:22
  Author: anatolik
Revision: 191517

archrelease: copy trunk to community-testing-any

Added:
  luarocks/repos/community-testing-any/
  luarocks/repos/community-testing-any/PKGBUILD
(from rev 191516, luarocks/trunk/PKGBUILD)

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

Copied: luarocks/repos/community-testing-any/PKGBUILD (from rev 191516, 
luarocks/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2016-10-06 21:51:22 UTC (rev 191517)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Chris Brannon 
+# Contributor: Geoffroy Carrier 
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
+pkgver=2.4.1
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51' 'lua52')
+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')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('39ae81028259164e0a1aec5577fab065')
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.3 \
+--with-lua-include=/usr/include \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.1 \
+--lua-suffix=5.1 \
+--with-lua-include=/usr/include/lua5.1 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+  cd ../${pkgbase}5.2-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.2 \
+--lua-suffix=5.2 \
+--with-lua-include=/usr/include/lua5.2 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.3 modules'
+  backup=('etc/luarocks/config-5.3.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.3/luarocks/site_config.lua
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.1/luarocks/site_config.lua
+}
+
+package_luarocks5.2() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua52')
+  optdepends+=('lua52-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.2/luarocks/site_config.lua
+}


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

2016-09-28 Thread Anatol Pomozov
Date: Wednesday, September 28, 2016 @ 17:54:36
  Author: anatolik
Revision: 190729

archrelease: copy trunk to community-testing-any

Added:
  luarocks/repos/community-testing-any/
  luarocks/repos/community-testing-any/PKGBUILD
(from rev 190728, luarocks/trunk/PKGBUILD)

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

Copied: luarocks/repos/community-testing-any/PKGBUILD (from rev 190728, 
luarocks/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2016-09-28 17:54:36 UTC (rev 190729)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Chris Brannon 
+# Contributor: Geoffroy Carrier 
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
+pkgver=2.4.0
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51' 'lua52')
+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')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('8ae36edb46899f6f5b9fe7ff9ba88079')
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.3 \
+--with-lua-include=/usr/include \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.1 \
+--lua-suffix=5.1 \
+--with-lua-include=/usr/include/lua5.1 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+  cd ../${pkgbase}5.2-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.2 \
+--lua-suffix=5.2 \
+--with-lua-include=/usr/include/lua5.2 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.3 modules'
+  backup=('etc/luarocks/config-5.3.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.3/luarocks/site_config.lua
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.1/luarocks/site_config.lua
+}
+
+package_luarocks5.2() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua52')
+  optdepends+=('lua52-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
"$pkgdir"/usr/share/lua/5.2/luarocks/site_config.lua
+}


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

2015-05-04 Thread Anatol Pomozov
Date: Monday, May 4, 2015 @ 18:33:49
  Author: anatolik
Revision: 132733

archrelease: copy trunk to community-staging-any

Added:
  luarocks/repos/community-staging-any/
  luarocks/repos/community-staging-any/PKGBUILD
(from rev 132732, luarocks/trunk/PKGBUILD)

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

Copied: luarocks/repos/community-staging-any/PKGBUILD (from rev 132732, 
luarocks/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2015-05-04 16:33:49 UTC (rev 132733)
@@ -0,0 +1,102 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Chris Brannon cmbranno...@gmail.com
+# Contributor: Geoffroy Carrier geoff...@archlinux.org
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
+pkgver=2.2.1
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51' 'lua52')
+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')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('718a0e8c257aace3ec16ebc2cfe9c696')
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.3 \
+--with-lua-include=/usr/include \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.1 \
+--with-lua-include=/usr/include/lua5.1 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+  cd ../${pkgbase}5.2-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.2 \
+--with-lua-include=/usr/include/lua5.2 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.3 modules'
+  backup=('etc/luarocks/config-5.3.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR=$pkgdir
+  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
$pkgdir/usr/share/lua/5.3/luarocks/site_config.lua
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR=$pkgdir
+  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm $pkgdir/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
$pkgdir/usr/share/lua/5.1/luarocks/site_config.lua
+}
+
+package_luarocks5.2() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua52')
+  optdepends+=('lua52-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR=$pkgdir
+  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm $pkgdir/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' 
$pkgdir/usr/share/lua/5.2/luarocks/site_config.lua
+}


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

2014-01-14 Thread Bartłomiej Piotrowski
Date: Tuesday, January 14, 2014 @ 19:45:38
  Author: bpiotrowski
Revision: 104042

archrelease: copy trunk to community-testing-any

Added:
  luarocks/repos/community-testing-any/
  luarocks/repos/community-testing-any/PKGBUILD
(from rev 104041, luarocks/trunk/PKGBUILD)

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

Copied: luarocks/repos/community-testing-any/PKGBUILD (from rev 104041, 
luarocks/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2014-01-14 18:45:38 UTC (rev 104042)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Chris Brannon cmbranno...@gmail.com
+# Contributor: Geoffroy Carrier geoff...@archlinux.org
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1')
+pkgver=2.1.2
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51')
+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')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('0afc5fd6ee6ec6128fccda1bc559f41e')
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.2 \
+--with-lua-include=/usr/include \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+--sysconfdir=/etc/luarocks \
+--lua-version=5.1 \
+--with-lua-include=/usr/include/lua5.1 \
+--with-downloader=curl \
+--versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR=$pkgdir
+  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR=$pkgdir
+  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  rm $pkgdir/usr/bin/luarocks{,-admin}
+}