void-packages/srcpkgs/libmatekbd/template
2016-04-10 10:33:03 +02:00

34 lines
1,021 B
Bash

# Template file for 'libmatekbd'
pkgname=libmatekbd
version=1.14.0
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3.0 --disable-static $(vopt_enable gir introspection)"
hostmakedepends="mate-common pkg-config intltool itstool glib-devel gobject-introspection"
makedepends="libICE-devel gtk+3-devel libxklavier-devel iso-codes"
depends="dconf iso-codes"
short_desc="MATE keyboard library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b026b69d51b3d119ce005242383c046b56cbca7b807ef2ad00041afdb99505c9
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
autoreconf -fi
}
libmatekbd-devel_package() {
short_desc+=" - development files"
depends="gtk+3-devel libxklavier-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}