void-packages/srcpkgs/libxkbcommon/template

37 lines
981 B
Bash
Raw Normal View History

2012-11-20 14:00:26 +01:00
# Template file for 'libxkbcommon'.
pkgname=libxkbcommon
2014-10-26 08:58:39 +01:00
version=0.5.0
revision=3
2012-11-20 14:00:26 +01:00
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake pkg-config libtool flex xorg-util-macros"
makedepends="xkeyboard-config libxcb-devel"
depends="xkeyboard-config"
2012-11-20 14:00:26 +01:00
short_desc="Library to handle keyboard descriptions"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-11-20 14:00:26 +01:00
homepage="http://xkbcommon.org/"
2012-11-20 14:06:33 +01:00
license="MIT/X11"
2013-06-13 06:49:41 +02:00
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.xz"
2014-10-26 08:58:39 +01:00
checksum=90bd7824742b9a6f52a6cf80e2cadd6f5349cf600a358d08260772615b89d19c
pre_configure() {
autoreconf -fi
}
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 06:49:41 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-21 11:27:48 +01:00
vmove "usr/lib/*.so"
}
}