summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErmine <mustela@erminea.space>2024-08-31 11:47:08 +0000
committerErmine <mustela@erminea.space>2024-09-01 12:54:03 +0000
commitc4ebb7f8bcab3303cf23ce788c3eb7f598999bfe (patch)
treed297474c01382fcabe34b5cb34c603634e6348f6
parent449012d52301f533aff8327b1579049af3a98eda (diff)
downloadpackages-c4ebb7f8bcab3303cf23ce788c3eb7f598999bfe.tar.gz
packages-c4ebb7f8bcab3303cf23ce788c3eb7f598999bfe.tar.bz2
packages-c4ebb7f8bcab3303cf23ce788c3eb7f598999bfe.tar.xz
packages-c4ebb7f8bcab3303cf23ce788c3eb7f598999bfe.zip
user/xkeyboard-config: upgrade to 2.42
-rw-r--r--user/xkeyboard-config/APKBUILD29
1 files changed, 12 insertions, 17 deletions
diff --git a/user/xkeyboard-config/APKBUILD b/user/xkeyboard-config/APKBUILD
index 63d9e1f64..fd865dcac 100644
--- a/user/xkeyboard-config/APKBUILD
+++ b/user/xkeyboard-config/APKBUILD
@@ -1,35 +1,30 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
-pkgver=2.30
+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"
+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.bz2"
+source="https://www.X.Org/releases/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.xz"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --with-xkb-base=/usr/share/X11/xkb \
- --with-xkb-rules-symlink=xorg \
- --enable-compat-rules=yes
- make
-}
-
-check() {
- make check
+ meson setup \
+ -Dprefix=/usr \
+ -Dxkb-base=/usr/share/X11/xkb \
+ -Dxorg-rules-symlinks=true \
+ build
+ meson compile -C build
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install -C build
rm -f "$pkgdir"/usr/share/X11/xkb/compiled
install -m755 -d "$pkgdir"/var/lib/xkb
}
-sha512sums="2d775dcaab49d80f62b8eaadc9be406b42c9a3643d3a360f864a462c61865abce67d0a8a80772d54f8136603114c61b5168fd06771f9c132411911914abb1ea4 xkeyboard-config-2.30.tar.bz2"
+sha512sums="654436ae21b9deb3b193847403b652cc5c19aa665a9c9168598fc6ac7af83ac04d40684d9eb99dd4db97c21e5100cfeed06b25e2b041eb9fdf3c05ef95a891a9 xkeyboard-config-2.42.tar.xz"