temp/xkeyboard-config: workaround apk-tools bug

apk-tools has a bug in connection with handling symlink in some scenarios,
which is an issue for xkeyboard-config, which installs a symlink since version
2.45. implement Alpine workaround until apk-tools is fixed.

Fixes: 5edf40fbe9 ("xkeyboard-config: upgrade to latest upstream")

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6891
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Sicelo A. Mhlongo 2025-08-07 00:33:18 +02:00 committed by fossdd
parent 53af81d63b
commit fd3b2c9efb
No known key found for this signature in database
GPG key ID: BB8C8A81C6452A88

View file

@ -3,7 +3,7 @@ pkgname=xkeyboard-config
pkgver=9999
_pkgver=2.45
_commit="23fec5367a042639ed93f7cf3878fbe9ddb84115"
pkgrel=1
pkgrel=2
pkgdesc="X keyboard configuration files"
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
arch="armv7"
@ -29,6 +29,10 @@ check() {
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# apk-tools unable to handle symlink correctly for the time being
rm "$pkgdir"/usr/share/X11/xkb/
mv "$pkgdir"/usr/share/xkeyboard-config-2/ "$pkgdir"/usr/share/X11/xkb/
ln -s X11/xkb "$pkgdir"/usr/share/xkeyboard-config-2
}
sha512sums="