2012-12-27 15:44:42 +01:00
|
|
|
# Template file for 'lgi'
|
|
|
|
pkgname=lgi
|
2015-03-29 09:06:33 +02:00
|
|
|
version=0.9.0
|
2015-10-01 22:07:55 +02:00
|
|
|
revision=2
|
2012-12-27 15:44:42 +01:00
|
|
|
build_style=gnu-makefile
|
2015-03-29 09:06:33 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2015-10-01 22:07:55 +02:00
|
|
|
makedepends="libglib-devel libffi-devel lua52-devel
|
2013-04-13 10:15:49 +02:00
|
|
|
gobject-introspection gir-freedesktop"
|
2015-10-01 22:07:55 +02:00
|
|
|
depends="lua52>=5.2 gir-freedesktop"
|
2012-12-27 15:44:42 +01:00
|
|
|
short_desc="Lua binadings for gnome/gobject using gobject-introspection library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-12-27 15:44:42 +01:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/pavouk/lgi"
|
2015-03-29 09:06:33 +02:00
|
|
|
distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
|
|
|
|
checksum="87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24"
|
2013-10-10 11:18:53 +02:00
|
|
|
|
2015-10-01 22:07:55 +02:00
|
|
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
2013-04-13 10:15:49 +02:00
|
|
|
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
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2015-10-01 22:07:55 +02:00
|
|
|
vbin tools/dump-typelib.lua dump-typelib
|
2014-11-24 10:15:21 +01:00
|
|
|
vlicense LICENSE
|
2012-12-27 15:44:42 +01:00
|
|
|
}
|