Package Details: xkeyboard-config-git 2.37_r2690.g2433ef1a-1

Git Clone URL: https://aur.archlinux.org/xkeyboard-config-git.git (read-only, click to copy)
Package Base: xkeyboard-config-git
Description: X keyboard configuration files
Upstream URL: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config
Licenses: custom
Conflicts: xkbdata, xkbdata-git, xkeyboard-config
Provides: xkbdata, xkbdata-git, xkeyboard-config
Replaces: xkbdata-git
Submitter: shoober420
Maintainer: IslandC0der (chaotic-aur)
Last Packager: IslandC0der
Votes: 1
Popularity: 0.000000
First Submitted: 2020-10-08 20:00 (UTC)
Last Updated: 2023-03-29 18:52 (UTC)

Dependencies (5)

Required by (36)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

gmy commented on 2021-12-17 16:50 (UTC)

Thank you for creating and maintaining this package.

Looks like upstream has switched to meson. Here's the PKGBUILD diff:

diff --git a/PKGBUILD b/PKGBUILD
index f3a3c53..45abc27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,8 @@
 # Contributor: Jan de Groot <jgc@archlinux.org>

 pkgname=xkeyboard-config-git
-pkgver=2.31
+_pkgname=xkeyboard-config
+pkgver=xkeyboard+config+2.34+44+g14b407b2
 pkgrel=1
 pkgdesc="X keyboard configuration files"
 arch=(any)
@@ -22,19 +23,16 @@ pkgver() {
 }

 build() {
-  cd xkeyboard-config
-  ./autogen.sh
-  ./configure --prefix=/usr \
-      --with-xkb-base=/usr/share/X11/xkb \
-      --with-xkb-rules-symlink=xorg \
-      --enable-compat-rules=yes
-  make
- }
+  cd "$srcdir/$_pkgname"
+  arch-meson build
+  meson compile -C build
+}

- package() {
-  cd xkeyboard-config
+package() {
+  cd "$srcdir/$_pkgname"
+
+  DESTDIR="$pkgdir" ninja -C build install

-  make DESTDIR="${pkgdir}" install
   rm -f "${pkgdir}/usr/share/X11/xkb/compiled"

   install -m755 -d "${pkgdir}/var/lib/xkb"