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/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/lua-socket/APKBUILD b/user/lua-socket/APKBUILD
index 89cbd7447..7c0197036 100644
--- a/user/lua-socket/APKBUILD
+++ b/user/lua-socket/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
-# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=lua-socket
_name=luasocket
pkgver=3.0_rc1_git20160306
@@ -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
}