# Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libxkbcommon pkgver=0.10.0 pkgrel=0 pkgdesc="Keyboard handling library" url="https://www.xkbcommon.org/" arch="all" license="MIT AND X11" depends="xkeyboard-config" checkdepends="bash" makedepends="bison doxygen flex libxcb-dev meson ninja util-macros xorgproto-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://www.xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz" build() { meson \ -Dprefix=/usr \ -Denable-wayland=false \ build ninja -C build } check() { ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="58c523b42a8ea0cae7322d453fbc5d4624374221246cb067074e2ff9820eef3ceea8686283136432cdf0842acfc0858c7b2d3954de234b6501092ae1d27c9e79 libxkbcommon-0.10.0.tar.xz"