41 lines
1002 B
Bash
41 lines
1002 B
Bash
# Template file for 'libxkbcommon'.
|
|
pkgname=libxkbcommon
|
|
version=0.7.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config libtool flex xorg-util-macros"
|
|
makedepends="xkeyboard-config libxcb-devel"
|
|
depends="xkeyboard-config"
|
|
short_desc="Library to handle keyboard descriptions"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://xkbcommon.org/"
|
|
license="MIT/X11"
|
|
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.xz"
|
|
checksum=ba59305d2e19e47c27ea065c2e0df96ebac6a3c6e97e28ae5620073b6084e68b
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|