33 lines
907 B
Plaintext
33 lines
907 B
Plaintext
# Template file for 'libxkbcommon'.
|
|
pkgname=libxkbcommon
|
|
version=0.4.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config flex"
|
|
makedepends="xkeyboard-config libxcb-devel"
|
|
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=9a52d5d0419e76c49c0ece86208c205ffacb1cf0ff8ffbaba98d3d4dd40c4e41
|
|
|
|
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}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|