summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-29 15:28:49 -0700
committerDan Theisen <djt@hxx.in>2018-09-29 15:28:49 -0700
commitd32ee5d2dcff2ced218c4953704b50a46b667194 (patch)
treedecd70f2b35ae648b4fb7c3c8512f0ba60f8b952
parenteb6c30bd65bb005698f2f65cd5ca76283b03334c (diff)
downloadpackages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.gz
packages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.bz2
packages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.xz
packages-d32ee5d2dcff2ced218c4953704b50a46b667194.zip
user/lua-lgi: build for lua 5.3
-rw-r--r--user/lua-lgi/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/user/lua-lgi/APKBUILD b/user/lua-lgi/APKBUILD
index ef7e42726..f9b07ca3b 100644
--- a/user/lua-lgi/APKBUILD
+++ b/user/lua-lgi/APKBUILD
@@ -16,17 +16,18 @@ builddir="$srcdir"/lgi-$pkgver
build() {
cd "$builddir"
- make PREFIX=/usr LUA_CFLAGS="$(pkg-config --cflags lua)"
+ make PREFIX=/usr LUA_VERSION="5.3" \
+ LUA_CFLAGS="$(pkg-config --cflags lua)"
}
check() {
- cd "$builddir"
+ cd "$builddir"
make check
}
package() {
cd "$builddir"
- make install PREFIX=/usr DESTDIR="$pkgdir"
+ make install PREFIX=/usr LUA_VERSION="5.3" DESTDIR="$pkgdir"
mkdir -p "$pkgdir"/usr/share/doc/lua-lgi
cp -r docs/* samples "$pkgdir"/usr/share/doc/lua-lgi/