summaryrefslogtreecommitdiff
path: root/user/lua-socket/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 08:14:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 08:14:32 +0000
commit3bc968c5fbd065aa8f2675a12e89491f0a98209d (patch)
tree7c4393ff3d8a3ee8f75bbe0c3d3a4fe50670cdee /user/lua-socket/APKBUILD
parent64a871d250da15a19d13f1d4be6088d3c87d9b48 (diff)
downloadpackages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.gz
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.bz2
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.xz
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.zip
user/*: Modernise / fix syntax / metadata
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
}