summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:46:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:46:52 +0200
commit0d3262eaea468d135686e36f7662ca3547acff69 (patch)
tree59fc83711a5250ea38f41bf5dacef2a27755c09d /extra/libxkbcommon
parenta3ad6a52e3e58c050ea28ba7fc9b0591d14cd7e7 (diff)
downloadpackages-0d3262eaea468d135686e36f7662ca3547acff69.tar.xz
extra/libxkbcommon: better X11 i486 patching
Diffstat (limited to 'extra/libxkbcommon')
-rw-r--r--extra/libxkbcommon/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
index 3c04600f..b8f73859 100644
--- a/extra/libxkbcommon/PKGBUILD
+++ b/extra/libxkbcommon/PKGBUILD
@@ -40,11 +40,6 @@ if [ "${CARCH}" = "i486" ]; then
s/arch-meson/arch-meson -Denable-x11=false/
'
)"
-
- pkgname=($(
- printf '%s\n' "${pkgname[@]}" | \
- sed '/^libxkbcommon-x11/d'
- ))
eval "$(
declare -f package_libxkbcommon | \
@@ -53,6 +48,12 @@ if [ "${CARCH}" = "i486" ]; then
'
)"
+ eval "$(
+ declare -f package_libxkbcommon-x11 | \
+ sed '
+ /x11/d
+ '
+ )"
fi