# Template file for 'libxkbcommon'.
pkgname=libxkbcommon
version=0.3.1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config flex"
makedepends="libfl-devel xkeyboard-config"
depends="xkeyboard-config"
short_desc="Library to handle keyboard descriptions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xkbcommon.org/"
license="MIT/X11"
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.xz"
checksum=9c973581bba0c883a301fa6474d9c3e4f3a06c34e4ae4f1f4e113692cb18b38e

libxkbcommon-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
