void-packages/srcpkgs/lgi/template

19 lines
721 B
Text

# Template file for 'lgi'
pkgname=lgi
version=0.6.2
revision=2
build_style=gnu-makefile
make_install_args="LUA_LIBDIR=/usr/lib/lua/5.1 LUA_SHAREDIR=/usr/share/lua/5.1"
depends="gir-freedesktop"
makedepends="glib-devel libffi-devel lua-devel>=5.1<5.2 gobject-introspection"
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"
distfiles="https://github.com/downloads/pavouk/lgi/lgi-${version}.tar.gz"
checksum=93b0a520f03822794d94cb86273d0744a3808792e2832b67f17ee03d7ded8773
post_install() {
vinstall tools/dump-typelib.lua 755 usr/bin dump-typelib
vinstall LICENSE 644 usr/share/licenses/lgi
}