41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
pkgname=xkeyboard-config
|
|
pkgver=2.41
|
|
pkgrel=1
|
|
pkgdesc="X keyboard configuration files"
|
|
arch=(any)
|
|
license=('LicenseRef-xkeyboard-config')
|
|
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
|
|
makedepends=('xorg-xkbcomp' 'libxslt' 'python' 'meson') # 'git')
|
|
provides=('xkbdata')
|
|
replaces=('xkbdata')
|
|
conflicts=('xkbdata')
|
|
# https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config
|
|
source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
|
|
sha256sums=('f02cd6b957295e0d50236a3db15825256c92f67ef1f73bf1c77a4b179edf728f'
|
|
'SKIP')
|
|
validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145') # Sergey Udaltsov <sergey.udaltsov@gmail.com>
|
|
|
|
build() {
|
|
arch-meson ${pkgname}-${pkgver} build \
|
|
-D xkb-base="/usr/share/X11/xkb" \
|
|
-D compat-rules=true \
|
|
-D xorg-rules-symlinks=true
|
|
|
|
# Print config
|
|
meson configure build
|
|
|
|
ninja -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
install -m755 -d "${pkgdir}/var/lib/xkb"
|
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
|
|
}
|