1 # Template file for 'lgi'
5 build_style=gnu-makefile
6 hostmakedepends="pkg-config"
7 makedepends="libglib-devel libffi-devel lua52-devel
8 gobject-introspection gir-freedesktop"
9 depends="lua52>=5.2 gir-freedesktop"
10 short_desc="Lua binadings for gnome/gobject using gobject-introspection library"
11 maintainer="Juan RP <xtraeme@voidlinux.eu>"
13 homepage="https://github.com/pavouk/lgi"
14 distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
15 checksum=cfc4105482b4730b3a40097c9d9e7e35c46df2fb255370bdeb2f45a886548c4f
17 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
19 make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.2 \
20 LUA_SHAREDIR=/usr/share/lua/5.2 install
22 vbin tools/dump-typelib.lua dump-typelib