void-packages/srcpkgs/lgi/template

23 lines
756 B
Bash

# Template file for 'lgi'
pkgname=lgi
version=0.9.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libglib-devel libffi-devel lua-devel
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@voidlinux.eu>"
license="MIT"
homepage="https://github.com/pavouk/lgi"
distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
checksum="87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24"
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
}