diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-29 15:28:49 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-29 15:28:49 -0700 |
commit | d32ee5d2dcff2ced218c4953704b50a46b667194 (patch) | |
tree | decd70f2b35ae648b4fb7c3c8512f0ba60f8b952 /user/lua-lgi | |
parent | eb6c30bd65bb005698f2f65cd5ca76283b03334c (diff) | |
download | packages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.gz packages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.bz2 packages-d32ee5d2dcff2ced218c4953704b50a46b667194.tar.xz packages-d32ee5d2dcff2ced218c4953704b50a46b667194.zip |
user/lua-lgi: build for lua 5.3
Diffstat (limited to 'user/lua-lgi')
-rw-r--r-- | user/lua-lgi/APKBUILD | 7 |
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/ |