@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.lua.org/
TERMUX_PKG_DESCRIPTION="Powerful, fast, lightweight, embeddable scripting language"
TERMUX_PKG_VERSION=5.3.3
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_BUILD_REVISION=2
TERMUX_PKG_SRCURL=http://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="readline"
TERMUX_PKG_EXTRA_MAKE_ARGS=linux
@ -6,7 +6,7 @@ diff -u -r ../lua-5.3.0/src/luaconf.h ./src/luaconf.h
#else /* }{ */
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "@TERMUX_PREFIX@"
+#define LUA_ROOT "@TERMUX_PREFIX@/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
#define LUA_PATH_DEFAULT \