summaryrefslogtreecommitdiff
path: root/user/lua-lgi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/lua-lgi/APKBUILD')
-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/