void-packages/srcpkgs/lgi/template
2016-05-28 08:44:33 +02:00

24 lines
791 B
Bash

# Template file for 'lgi'
pkgname=lgi
version=0.9.1
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libglib-devel libffi-devel lua52-devel
gobject-introspection gir-freedesktop"
depends="lua52>=5.2 gir-freedesktop"
short_desc="Lua binadings for gnome/gobject using gobject-introspection library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://github.com/pavouk/lgi"
distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
checksum=0c70fb2b1ca17d333b7e2c18d5fc943944b5872e063de60df3035ee20b6dafba
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
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
vlicense LICENSE
}