1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xkeyboard-config
6 pkgdesc="X keyboard configuration files"
9 url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
10 makedepends=('xorg-xkbcomp' 'libxslt' 'python' 'meson')
14 source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
15 alujiskeys.patch::https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/dc1534b4b0cf2153e4b8848310efc8393fb73830.patch)
16 validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145') # Sergey Udaltsov <sergey.udaltsov@gmail.com>
17 #validpgpkeys=('15CFA5C595041D2CCBEA155F1732AA424A0E86B4') # "Sergey Udaltsov (For GNOME-related tasks) <svu@gnome.org>"
18 sha256sums=('1f1bb1292a161d520a3485d378609277d108cd07cde0327c16811ff54c3e1595'
23 cd ${pkgname}-${pkgver}
24 # FS##75007 / https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/325
25 patch -Np1 -i ../alujiskeys.patch
29 arch-meson ${pkgname}-${pkgver} build \
30 -D xkb-base="/usr/share/X11/xkb" \
31 -D compat-rules=true \
32 -D xorg-rules-symlinks=true
43 DESTDIR="$pkgdir" ninja -C build install
45 install -m755 -d "${pkgdir}/var/lib/xkb"
46 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
47 install -m644 ${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"