void-packages/srcpkgs/libmatekbd/template

30 lines
880 B
Bash

# Template file for 'libmatekbd'
pkgname=libmatekbd
version=1.10.0
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static"
hostmakedepends="mate-common 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/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=09d9bb75d784083036e24a29120f5933f0dfdfe59050858dd353fd7572d7d2d1
pre_configure() {
autoreconf -fi
}
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
}
}