lgi: use lua-5.3

This commit is contained in:
Christian Buschau 2018-12-20 10:17:07 +01:00 committed by maxice8
parent 36b163b5e3
commit b45f3327ea

View File

@ -1,12 +1,13 @@
# Template file for 'lgi' # Template file for 'lgi'
pkgname=lgi pkgname=lgi
version=0.9.2 version=0.9.2
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="LUA_VERSION=5.3"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libglib-devel libffi-devel lua52-devel makedepends="libglib-devel libffi-devel lua-devel
gobject-introspection gir-freedesktop" gobject-introspection gir-freedesktop"
depends="lua52>=5.2 gir-freedesktop" depends="lua gir-freedesktop"
short_desc="Lua binadings for gnome/gobject using gobject-introspection library" short_desc="Lua binadings for gnome/gobject using gobject-introspection library"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT" license="MIT"
@ -14,11 +15,7 @@ homepage="https://github.com/pavouk/lgi"
distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz" distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
checksum=cfc4105482b4730b3a40097c9d9e7e35c46df2fb255370bdeb2f45a886548c4f checksum=cfc4105482b4730b3a40097c9d9e7e35c46df2fb255370bdeb2f45a886548c4f
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2" post_install() {
do_install() {
make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2 install
vbin tools/dump-typelib.lua dump-typelib vbin tools/dump-typelib.lua dump-typelib
vlicense LICENSE vlicense LICENSE
} }