From d32ee5d2dcff2ced218c4953704b50a46b667194 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Sat, 29 Sep 2018 15:28:49 -0700 Subject: user/lua-lgi: build for lua 5.3 --- user/lua-lgi/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'user/lua-lgi') 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/ -- cgit v1.2.3-70-g09d2