OCaml 4.14.0 rebuild
[arch-packages.git] / xkeyboard-config / trunk / PKGBUILD
blobbd90179eb67451c36e2d38b4877449b70aca42a3
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xkeyboard-config
4 pkgver=2.36
5 pkgrel=2
6 pkgdesc="X keyboard configuration files"
7 arch=(any)
8 license=('custom')
9 url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
10 makedepends=('xorg-xkbcomp' 'libxslt' 'python' 'meson')
11 provides=('xkbdata')
12 replaces=('xkbdata')
13 conflicts=('xkbdata')
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'
19             'SKIP'
20             'SKIP')
22 prepare() {
23   cd ${pkgname}-${pkgver}
24   # FS##75007 / https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/325
25   patch -Np1 -i ../alujiskeys.patch
28 build() {
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
34   # Print config
35   meson configure build
37   ninja -C build
39  }
41  package() { 
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}/"