void-packages/srcpkgs/lgi/template

25 lines
706 B
Plaintext
Raw Normal View History

2012-12-27 15:44:42 +01:00
# Template file for 'lgi'
pkgname=lgi
2014-11-24 10:15:21 +01:00
version=0.8.0
revision=1
2012-12-27 15:44:42 +01:00
build_style=gnu-makefile
hostmakedepends="pkg-config git"
2013-10-10 11:18:53 +02:00
makedepends="libglib-devel libffi-devel lua-devel>=5.2
gobject-introspection gir-freedesktop"
depends="lua>=5.2 gir-freedesktop"
2012-12-27 15:44:42 +01:00
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"
2013-10-10 11:18:53 +02:00
do_fetch() {
git clone -b${version} git://github.com/pavouk/lgi.git lgi-${version}
}
do_install() {
2013-10-10 11:18:53 +02:00
make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2 install
2012-12-27 15:44:42 +01:00
vinstall tools/dump-typelib.lua 755 usr/bin dump-typelib
2014-11-24 10:15:21 +01:00
vlicense LICENSE
2012-12-27 15:44:42 +01:00
}