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