blob: 15791113f67c21e5b0aa39fbcca845b5b4d5ddf9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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"
|