void-packages/srcpkgs/libmatekbd/template

29 lines
864 B
Bash

# Template file for 'libmatekbd'
pkgname=libmatekbd
version=1.8.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static"
hostmakedepends="libtool pkg-config intltool itstool glib-devel"
makedepends="libICE-devel gtk+-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/1.8/${pkgname}-${version}.tar.xz"
checksum=dce9704c73b31fbf1ef77e977d2a0d31ade137a549ecf209e6cf3cfe10b51749
pre_configure() {
libtoolize -f
}
libmatekbd-devel_package() {
short_desc+=" - development files"
depends="gtk+-devel libxklavier-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}