void-packages/srcpkgs/lgi/template
2014-11-24 10:15:21 +01:00

24 lines
706 B
Text

# Template file for 'lgi'
pkgname=lgi
version=0.8.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config git"
makedepends="libglib-devel libffi-devel lua-devel>=5.2
gobject-introspection gir-freedesktop"
depends="lua>=5.2 gir-freedesktop"
short_desc="Lua binadings for gnome/gobject using gobject-introspection library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="https://github.com/pavouk/lgi"
do_fetch() {
git clone -b${version} git://github.com/pavouk/lgi.git lgi-${version}
}
do_install() {
make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2 install
vinstall tools/dump-typelib.lua 755 usr/bin dump-typelib
vlicense LICENSE
}