[arch-commits] Commit in luasocket/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Mar 11 09:39:51 UTC 2016
Date: Friday, March 11, 2016 @ 10:39:51
Author: spupykin
Revision: 166097
archrelease: copy trunk to community-i686, community-x86_64
Added:
luasocket/repos/community-i686/PKGBUILD
(from rev 166095, luasocket/trunk/PKGBUILD)
luasocket/repos/community-x86_64/PKGBUILD
(from rev 166096, luasocket/trunk/PKGBUILD)
Deleted:
luasocket/repos/community-i686/PKGBUILD
luasocket/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 142 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 69 ---------------------
community-x86_64/PKGBUILD | 69 ---------------------
3 files changed, 142 insertions(+), 138 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-03-11 09:39:45 UTC (rev 166096)
+++ community-i686/PKGBUILD 2016-03-11 09:39:51 UTC (rev 166097)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-
-pkgbase=luasocket
-pkgname=(lua-socket lua51-socket lua52-socket)
-pkgver=20151008
-pkgrel=1
-pkgdesc='Networking support library for the Lua language'
-arch=('i686' 'x86_64')
-url='https://github.com/diegonehab/luasocket'
-license=('MIT')
-makedepends=('lua' 'lua51' 'lua52' 'git')
-source=("git+https://github.com/diegonehab/luasocket.git#commit=d1ec29be7f982db75864155dd61a058902e1cae2")
-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
-
- 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' \
- {} \;
- make LUAV=5.1
-
- 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
-}
-
-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"
-}
Copied: luasocket/repos/community-i686/PKGBUILD (from rev 166095, luasocket/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-03-11 09:39:51 UTC (rev 166097)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket)
+pkgver=20160311
+_commit=23ce5aeaa22b49d6649096b520b292a3626474ef
+pkgrel=1
+pkgdesc='Networking support library for the Lua language'
+arch=('i686' '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"
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-03-11 09:39:45 UTC (rev 166096)
+++ community-x86_64/PKGBUILD 2016-03-11 09:39:51 UTC (rev 166097)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-
-pkgbase=luasocket
-pkgname=(lua-socket lua51-socket lua52-socket)
-pkgver=20151008
-pkgrel=1
-pkgdesc='Networking support library for the Lua language'
-arch=('i686' 'x86_64')
-url='https://github.com/diegonehab/luasocket'
-license=('MIT')
-makedepends=('lua' 'lua51' 'lua52' 'git')
-source=("git+https://github.com/diegonehab/luasocket.git#commit=d1ec29be7f982db75864155dd61a058902e1cae2")
-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
-
- 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' \
- {} \;
- make LUAV=5.1
-
- 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
-}
-
-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"
-}
Copied: luasocket/repos/community-x86_64/PKGBUILD (from rev 166096, luasocket/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-03-11 09:39:51 UTC (rev 166097)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket lua52-socket)
+pkgver=20160311
+_commit=23ce5aeaa22b49d6649096b520b292a3626474ef
+pkgrel=1
+pkgdesc='Networking support library for the Lua language'
+arch=('i686' '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"
+}
More information about the arch-commits
mailing list