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:
parent
53af81d63b
commit
fd3b2c9efb
1 changed files with 5 additions and 1 deletions
|
|
@ -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="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue