void-packages/srcpkgs/lgi/template
Jürgen Buchmüller b8918e2a7d lua: update to 5.3.1
+ Rename lua and lua-devel to lua52 and lua52-devel
+ Modify packages depending on lua52 accordingly:
+ Many packages auto-detect lua52 files
+ Some packages need hints where / how to find lua52
+ One package (xmoto) downgraded to lua51, because it wouldn't find lua52
+ One package (vim) upgraded to lua (5.3.1)

There may be more packages upgradable without problems.
I didn't want to change too much in this move without the
respective package maintainers first taking a look.

Most notably conky-cli wouldn't work with lua52. I upgraded it
to 1.10.0 (same as conky) and tried to keep the flags the same
for the change from gnu-configure to cmake.
2015-10-02 11:24:59 +02:00

24 lines
793 B
Bash

# Template file for 'lgi'
pkgname=lgi
version=0.9.0
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libglib-devel libffi-devel lua52-devel
gobject-introspection gir-freedesktop"
depends="lua52>=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"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
do_install() {
make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.2 \
LUA_SHAREDIR=/usr/share/lua/5.2 install
vbin tools/dump-typelib.lua dump-typelib
vlicense LICENSE
}