# Maintainer: A. Wilcox pkgname=xkeyboard-config pkgver=2.42 pkgrel=0 pkgdesc="Keyboard configuration files for X11" url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig" arch="noarch" options="!check" # requires gawk license="X11 AND MIT" depends="" makedepends="intltool libx11-dev python3 xkbcomp libxslt meson" subpackages="$pkgname-doc $pkgname-lang" source="https://www.X.Org/releases/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.xz" build() { meson setup \ -Dprefix=/usr \ -Dxkb-base=/usr/share/X11/xkb \ -Dxorg-rules-symlinks=true \ build meson compile -C build } package() { DESTDIR="$pkgdir" meson install -C build rm -f "$pkgdir"/usr/share/X11/xkb/compiled install -m755 -d "$pkgdir"/var/lib/xkb } sha512sums="654436ae21b9deb3b193847403b652cc5c19aa665a9c9168598fc6ac7af83ac04d40684d9eb99dd4db97c21e5100cfeed06b25e2b041eb9fdf3c05ef95a891a9 xkeyboard-config-2.42.tar.xz"