[arch-commits] Commit in luasocket/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Fri Mar 11 09:39:36 UTC 2016


    Date: Friday, March 11, 2016 @ 10:39:35
  Author: spupykin
Revision: 166095

upgpkg: luasocket 20160311-1

upd

Modified:
  luasocket/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-11 09:37:40 UTC (rev 166094)
+++ PKGBUILD	2016-03-11 09:39:35 UTC (rev 166095)
@@ -4,7 +4,8 @@
 
 pkgbase=luasocket
 pkgname=(lua-socket lua51-socket lua52-socket)
-pkgver=20151008
+pkgver=20160311
+_commit=23ce5aeaa22b49d6649096b520b292a3626474ef
 pkgrel=1
 pkgdesc='Networking support library for the Lua language'
 arch=('i686' 'x86_64')
@@ -11,7 +12,7 @@
 url='https://github.com/diegonehab/luasocket'
 license=('MIT')
 makedepends=('lua' 'lua51' 'lua52' 'git')
-source=("git+https://github.com/diegonehab/luasocket.git#commit=d1ec29be7f982db75864155dd61a058902e1cae2")
+source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit}")
 md5sums=('SKIP')
 
 build() {
@@ -20,7 +21,7 @@
 
   msg2 'Building with lua 5.3'
   cd "$srcdir"/luasocket
-  make LUAV=5.3
+  make LUAV=5.3 linux
 
   msg2 'Building with lua 5.1'
   cd "$srcdir"/luasocket-51
@@ -30,7 +31,8 @@
     -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
+  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
@@ -40,7 +42,7 @@
     -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
+  make LUAV=5.2 linux
 }
 
 package_lua-socket() {



More information about the arch-commits mailing list