summaryrefslogtreecommitdiff
path: root/user/lua-socket/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/lua-socket/APKBUILD')
-rw-r--r--user/lua-socket/APKBUILD3
1 files changed, 0 insertions, 3 deletions
diff --git a/user/lua-socket/APKBUILD b/user/lua-socket/APKBUILD
index 645cef44a..7c0197036 100644
--- a/user/lua-socket/APKBUILD
+++ b/user/lua-socket/APKBUILD
@@ -19,19 +19,16 @@ source="luasocket-$_ver.tar.gz::https://github.com/diegonehab/luasocket/archive/
builddir="$srcdir/$_name-$_ver"
build() {
- cd "$builddir"
make LUAV=""
}
check() {
- cd "$builddir"
mkdir -p src/socket && cp src/socket-$_ver.so src/socket/core.so
mkdir -p src/mime && cp src/mime-1.0.3.so src/mime/core.so
LUA_CPATH=./src/?.so LUA_PATH="./src/?.lua;;" lua test/hello.lua
}
package() {
- cd "$builddir"
make prefix=/usr DESTDIR="$pkgdir" LUAV="5.3" install-unix
}