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

2020-08-02 Thread Daurnimator via arch-commits
Date: Sunday, August 2, 2020 @ 11:26:47
  Author: daurnimator
Revision: 667616

archrelease: copy trunk to community-staging-x86_64

Added:
  luasocket/repos/community-staging-x86_64/
  luasocket/repos/community-staging-x86_64/PKGBUILD
(from rev 667615, luasocket/trunk/PKGBUILD)

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

Copied: luasocket/repos/community-staging-x86_64/PKGBUILD (from rev 667615, 
luasocket/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-02 11:26:47 UTC (rev 667616)
@@ -0,0 +1,63 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Anders Bergh 
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket lua53-socket)
+pkgver=20200329
+_commit=5b18e475f38fcf28429b1cc4b17baee3b9793a62
+pkgrel=1
+pkgdesc='Networking support library for the Lua language'
+arch=('x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+#options=('debug')
+makedepends=('lua' 'lua51' 'lua52' 'lua53' 'git')
+source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit};)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a luasocket luasocket-51
+  cp -a luasocket luasocket-52
+  cp -a luasocket luasocket-53
+}
+
+build() {
+  cd "$srcdir"/luasocket-51
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.1 linux
+
+  cd "$srcdir"/luasocket-52
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.2 linux
+
+  cd "$srcdir"/luasocket-53
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.3 linux
+
+  cd "$srcdir"/luasocket
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.4 linux
+}
+
+package_lua51-socket() {
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-51
+  make DESTDIR="$pkgdir" LUAV=5.1 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-socket() {
+  cd luasocket-52
+  make DESTDIR="$pkgdir" LUAV=5.2 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua53-socket() {
+  cd luasocket-53
+  make DESTDIR="$pkgdir" LUAV=5.3 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua-socket() {
+  cd luasocket
+  make DESTDIR="$pkgdir" LUAV=5.4 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2020-07-05 Thread Daurnimator via arch-commits
Date: Sunday, July 5, 2020 @ 12:16:13
  Author: daurnimator
Revision: 657818

archrelease: copy trunk to community-staging-x86_64

Added:
  luasocket/repos/community-staging-x86_64/
  luasocket/repos/community-staging-x86_64/PKGBUILD
(from rev 657817, luasocket/trunk/PKGBUILD)

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

Copied: luasocket/repos/community-staging-x86_64/PKGBUILD (from rev 657817, 
luasocket/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-05 12:16:13 UTC (rev 657818)
@@ -0,0 +1,63 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Anders Bergh 
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket lua53-socket)
+pkgver=20190219
+_commit=144fa01c2f204e3b1b13c834f2644d100dba701b
+pkgrel=3
+pkgdesc='Networking support library for the Lua language'
+arch=('x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+#options=('debug')
+makedepends=('lua' 'lua51' 'lua52' 'lua53' 'git')
+source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit};)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a luasocket luasocket-51
+  cp -a luasocket luasocket-52
+  cp -a luasocket luasocket-53
+}
+
+build() {
+  cd "$srcdir"/luasocket-51
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.1 linux
+
+  cd "$srcdir"/luasocket-52
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.2 linux
+
+  cd "$srcdir"/luasocket-53
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.3 linux
+
+  cd "$srcdir"/luasocket
+  MYCFLAGS="$CFLAGS" MYLDFLAGS=$LDFLAGS make LUAV=5.4 linux
+}
+
+package_lua51-socket() {
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-51
+  make DESTDIR="$pkgdir" LUAV=5.1 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-socket() {
+  cd luasocket-52
+  make DESTDIR="$pkgdir" LUAV=5.2 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua53-socket() {
+  cd luasocket-53
+  make DESTDIR="$pkgdir" LUAV=5.3 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua-socket() {
+  cd luasocket
+  make DESTDIR="$pkgdir" LUAV=5.4 prefix=/usr install-unix
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2020-06-30 Thread Evangelos Foutras via arch-commits
Date: Tuesday, June 30, 2020 @ 07:11:12
  Author: foutrelis
Revision: 657088

archrelease: copy trunk to community-staging-x86_64

Added:
  luasocket/repos/community-staging-x86_64/
  luasocket/repos/community-staging-x86_64/PKGBUILD
(from rev 657087, luasocket/trunk/PKGBUILD)

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

Copied: luasocket/repos/community-staging-x86_64/PKGBUILD (from rev 657087, 
luasocket/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-30 07:11:12 UTC (rev 657088)
@@ -0,0 +1,71 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Anders Bergh 
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket)
+pkgver=20190219
+_commit=144fa01c2f204e3b1b13c834f2644d100dba701b
+pkgrel=2
+pkgdesc='Networking support library for the Lua language'
+arch=('x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+#options=('debug')
+makedepends=('lua' 'lua51' 'lua52' 'git')
+source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit};)
+md5sums=('SKIP')
+
+build() {
+  cp -a luasocket luasocket-52
+  cp -a luasocket luasocket-51
+
+  msg2 'Building with lua 5.3'
+  cd "$srcdir"/luasocket
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.3 linux
+
+  msg2 'Building with lua 5.1'
+  cd "$srcdir"/luasocket-51
+  find . -type f -name \*.[ch] -exec sed -i \
+-e 's|include "lua.h|include "lua5.1/lua.h|g' \
+-e 's|include "lualib.h|include "lua5.1/lualib.h|g' \
+-e 's|include "luaconf.h|include "lua5.1/luaconf.h|g' \
+-e 's|include "lauxlib.h|include "lua5.1/lauxlib.h|g' \
+{} \;
+  sed -i 's|usocket.$(O)|usocket.$(O) compat.$(O)|' makefile
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.1 linux
+
+  msg2 'Building with lua 5.2'
+  cd "$srcdir"/luasocket-52
+  find . -type f -name \*.[ch] -exec sed -i \
+-e 's|include "lua.h|include "lua5.2/lua.h|g' \
+-e 's|include "lualib.h|include "lua5.2/lualib.h|g' \
+-e 's|include "luaconf.h|include "lua5.2/luaconf.h|g' \
+-e 's|include "lauxlib.h|include "lua5.2/lauxlib.h|g' \
+{} \;
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.2 linux
+}
+
+package_lua-socket() {
+  depends=('lua')
+  cd luasocket
+  make DESTDIR="$pkgdir/" LUAV=5.3 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-socket() {
+  depends=('lua51')
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-51
+  make DESTDIR="$pkgdir/" LUAV=5.1 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-socket() {
+  depends=('lua52')
+
+  cd luasocket-52
+  make DESTDIR="$pkgdir/" LUAV=5.2 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2018-11-09 Thread Evangelos Foutras via arch-commits
Date: Saturday, November 10, 2018 @ 00:21:07
  Author: foutrelis
Revision: 405496

archrelease: copy trunk to community-staging-x86_64

Added:
  luasocket/repos/community-staging-x86_64/
  luasocket/repos/community-staging-x86_64/PKGBUILD
(from rev 405495, luasocket/trunk/PKGBUILD)

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

Copied: luasocket/repos/community-staging-x86_64/PKGBUILD (from rev 405495, 
luasocket/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-10 00:21:07 UTC (rev 405496)
@@ -0,0 +1,70 @@
+# Maintainer: Sergej Pupykin 
+# Contributor: Anders Bergh 
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket)
+pkgver=20160311
+_commit=23ce5aeaa22b49d6649096b520b292a3626474ef
+pkgrel=2
+pkgdesc='Networking support library for the Lua language'
+arch=('x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+makedepends=('lua' 'lua51' 'lua52' 'git')
+source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit};)
+md5sums=('SKIP')
+
+build() {
+  cp -a luasocket luasocket-52
+  cp -a luasocket luasocket-51
+
+  msg2 'Building with lua 5.3'
+  cd "$srcdir"/luasocket
+  make LUAV=5.3 linux
+
+  msg2 'Building with lua 5.1'
+  cd "$srcdir"/luasocket-51
+  find . -type f -name \*.[ch] -exec sed -i \
+-e 's|include "lua.h|include "lua5.1/lua.h|g' \
+-e 's|include "lualib.h|include "lua5.1/lualib.h|g' \
+-e 's|include "luaconf.h|include "lua5.1/luaconf.h|g' \
+-e 's|include "lauxlib.h|include "lua5.1/lauxlib.h|g' \
+{} \;
+  sed -i 's|usocket.$(O)|usocket.$(O) compat.$(O)|' makefile
+  make LUAV=5.1 linux
+
+  msg2 'Building with lua 5.2'
+  cd "$srcdir"/luasocket-52
+  find . -type f -name \*.[ch] -exec sed -i \
+-e 's|include "lua.h|include "lua5.2/lua.h|g' \
+-e 's|include "lualib.h|include "lua5.2/lualib.h|g' \
+-e 's|include "luaconf.h|include "lua5.2/luaconf.h|g' \
+-e 's|include "lauxlib.h|include "lua5.2/lauxlib.h|g' \
+{} \;
+  make LUAV=5.2 linux
+}
+
+package_lua-socket() {
+  depends=('lua')
+  cd luasocket
+  make DESTDIR="$pkgdir/" LUAV=5.3 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-socket() {
+  depends=('lua51')
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-51
+  make DESTDIR="$pkgdir/" LUAV=5.1 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-socket() {
+  depends=('lua52')
+
+  cd luasocket-52
+  make DESTDIR="$pkgdir/" LUAV=5.2 prefix=/usr install-unix
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}