2012-12-27 14:44:42 +00:00
|
|
|
# Template file for 'lgi'
|
|
|
|
pkgname=lgi
|
|
|
|
version=0.6.2
|
2012-12-27 14:51:09 +00:00
|
|
|
revision=2
|
2012-12-27 14:44:42 +00:00
|
|
|
build_style=gnu-makefile
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="glib-devel libffi-devel lua-devel>=5.1<5.2
|
|
|
|
gobject-introspection 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"
|
|
|
|
distfiles="https://github.com/downloads/pavouk/lgi/lgi-${version}.tar.gz"
|
|
|
|
checksum=93b0a520f03822794d94cb86273d0744a3808792e2832b67f17ee03d7ded8773
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.1 \
|
|
|
|
LUA_SHAREDIR=/usr/share/lua/5.1 install
|
|
|
|
|
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
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
lgi_package() {
|
|
|
|
depends="gir-freedesktop"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|