blob: fd865dcac7726617bbebfbed11765241f7496435 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
pkgver=2.42
pkgrel=0
pkgdesc="Keyboard configuration files for X11"
url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
arch="noarch"
options="!check" # requires gawk
license="X11 AND MIT"
depends=""
makedepends="intltool libx11-dev python3 xkbcomp libxslt meson"
subpackages="$pkgname-doc $pkgname-lang"
source="https://www.X.Org/releases/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.xz"
build() {
meson setup \
-Dprefix=/usr \
-Dxkb-base=/usr/share/X11/xkb \
-Dxorg-rules-symlinks=true \
build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
rm -f "$pkgdir"/usr/share/X11/xkb/compiled
install -m755 -d "$pkgdir"/var/lib/xkb
}
sha512sums="654436ae21b9deb3b193847403b652cc5c19aa665a9c9168598fc6ac7af83ac04d40684d9eb99dd4db97c21e5100cfeed06b25e2b041eb9fdf3c05ef95a891a9 xkeyboard-config-2.42.tar.xz"
|