Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/lxsession
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-14 10:35:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-14 10:35:55 +0200
commit507a978fc7cc62795c2013cfca086cf825f3545a (patch)
tree3ea65b33cc574b8cb7e7b6c7aee0d741acdf1b9e /community/lxsession
parentfe260abbef8525ae346394761063409579c219a1 (diff)
community/lxsession: more polkit-duktape fixes for i486
Diffstat (limited to 'community/lxsession')
-rw-r--r--community/lxsession/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/lxsession/PKGBUILD b/community/lxsession/PKGBUILD
index 89363abe..1a30f4fa 100644
--- a/community/lxsession/PKGBUILD
+++ b/community/lxsession/PKGBUILD
@@ -2,4 +2,18 @@
if [ "$CARCH" = 'i486' ]; then
depends=(${depends[@]//polkit/})
depends+=(polkit-duktape)
+ if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f package_lxsession | \
+ sed '
+ s/polkit/polkit-duktape/
+ '
+ )"
+ eval "$(
+ declare -f package_lxsession-gtk3 | \
+ sed '
+ s/polkit/polkit-duktape/
+ '
+ )"
+ fi
fi