void-packages/srcpkgs/libxkbcommon/template

33 lines
907 B
Text
Raw Normal View History

2012-11-20 13:00:26 +00:00
# Template file for 'libxkbcommon'.
pkgname=libxkbcommon
version=0.4.2
revision=1
2012-11-20 13:00:26 +00:00
build_style=gnu-configure
configure_args="--disable-static"
2014-02-21 10:27:48 +00:00
hostmakedepends="pkg-config flex"
makedepends="xkeyboard-config libxcb-devel"
depends="xkeyboard-config"
2012-11-20 13:00:26 +00:00
short_desc="Library to handle keyboard descriptions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xkbcommon.org/"
2012-11-20 13:06:33 +00:00
license="MIT/X11"
2013-06-13 04:49:41 +00:00
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.xz"
checksum=a0fc71b07eeddba4af62bd709e24cec219778bb6871384aa850b2f5798a48957
libxkbcommon-x11_package() {
short_desc+=" - X11 support"
pkg_install() {
vmove usr/lib/*x11*.so.*
}
}
libxkbcommon-devel_package() {
depends="libxcb-devel ${sourcepkg}-x11>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
2013-06-13 04:49:41 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-21 10:27:48 +00:00
vmove "usr/lib/*.so"
}
}