archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xkeyboard-config / trunk / PKGBUILD
blob0ba4a83f2f75848dcd92471e7424c7f05837d16e
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=xkeyboard-config
5 pkgver=2.34
6 pkgrel=1
7 pkgdesc="X keyboard configuration files"
8 arch=(any)
9 license=('custom')
10 url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
11 makedepends=('xorg-xkbcomp' 'libxslt' 'python' 'meson')
12 provides=('xkbdata')
13 replaces=('xkbdata')
14 conflicts=('xkbdata')
15 source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
16 validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145')
17 validpgpkeys+=('15CFA5C595041D2CCBEA155F1732AA424A0E86B4') # "Sergey Udaltsov (For GNOME-related tasks) <svu@gnome.org>"
18 sha512sums=('cf3bdb658349b2db9db44ea1a0f7060b890b95520319101d83ba5aefeb0b1e2fd578b6f72a90758438f04bffbe7536cf112b76297fd47c95e02029fd203c51fb'
19             'SKIP')
21 build() {
22   arch-meson ${pkgname}-${pkgver} build \
23         -D xkb-base="/usr/share/X11/xkb" \
24         -D compat-rules=true \
25         -D xorg-rules-symlinks=true
27   # Print config
28   meson configure build
30   ninja -C build
32  }
34  package() { 
36   DESTDIR="$pkgdir" ninja -C build install
38   install -m755 -d "${pkgdir}/var/lib/xkb"
39   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
40   install -m644 ${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"