30 lines
758 B
Plaintext
30 lines
758 B
Plaintext
# Description: X keyboard configuration database
|
|
# URL: https://cgit.freedesktop.org/xkeyboard-config/
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: libxslt xorg-xkbcomp
|
|
# Optional: intltool
|
|
|
|
name=xkeyboard-config
|
|
version=2.41
|
|
release=1
|
|
source=(https://www.x.org/releases/individual/data/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D xkb-base="/usr/share/X11/xkb" \
|
|
-D compat-rules=true \
|
|
-D xorg-rules-symlinks=true
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
install -m755 -d $PKG/var/lib/xkb
|
|
find $PKG -name README -delete
|
|
rm -r $PKG/usr/share/locale
|
|
}
|