OCaml 5.0.0 rebuild: Fix Pervasives deprecation
[arch-packages.git] / xkeyboard-config / trunk / PKGBUILD
blob903257a2b47e8f3bf87a60a81f409634f62bac31
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xkeyboard-config
4 pkgver=2.38
5 pkgrel=1
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' 'git')
11 provides=('xkbdata')
12 replaces=('xkbdata')
13 conflicts=('xkbdata')
14 # https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config
15 source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
16 validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145') # Sergey Udaltsov <sergey.udaltsov@gmail.com> 
17 sha256sums=('0690a91bab86b18868f3eee6d41e9ec4ce6894f655443d490a2184bfac56c872'
18             'SKIP')
20 build() {
21   arch-meson ${pkgname}-${pkgver} build \
22         -D xkb-base="/usr/share/X11/xkb" \
23         -D compat-rules=true \
24         -D xorg-rules-symlinks=true
26   # Print config
27   meson configure build
29   ninja -C build
31  }
33  package() { 
35   DESTDIR="$pkgdir" ninja -C build install
37   install -m755 -d "${pkgdir}/var/lib/xkb"
38   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
39   install -m644 ${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"