[arch-commits] Commit in luasocket/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Oct 21 14:18:51 UTC 2013
Date: Monday, October 21, 2013 @ 16:18:51
Author: spupykin
Revision: 98941
upgpkg: luasocket 3.0rc1-2
upd
Modified:
luasocket/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-21 14:09:00 UTC (rev 98940)
+++ PKGBUILD 2013-10-21 14:18:51 UTC (rev 98941)
@@ -5,7 +5,7 @@
pkgbase=luasocket
pkgname=(lua-socket lua51-socket)
pkgver=3.0rc1
-pkgrel=1
+pkgrel=2
pkgdesc='Networking support library for the Lua language'
arch=('i686' 'x86_64')
url='https://github.com/diegonehab/luasocket'
@@ -22,6 +22,12 @@
popd
msg2 'Building with lua 5.1'
cd luasocket-${pkgver/rc/-rc}
+ 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
}
More information about the arch-commits
mailing list