diff options
Diffstat (limited to 'extra/lightdm')
-rw-r--r-- | extra/lightdm/PKGBUILD | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/lightdm/PKGBUILD b/extra/lightdm/PKGBUILD index 415ddd35..9288f4d3 100644 --- a/extra/lightdm/PKGBUILD +++ b/extra/lightdm/PKGBUILD @@ -1,3 +1,17 @@ +# use polkit-duktape instead of polkit on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//polkit/}) + makedepends+=(polkit-duktape) + if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f package_lightdm | \ + sed ' + /depends/s/polkit/polkit-duktape/ + ' + )" + fi +fi + eval "$( declare -f package_lightdm | \ sed ' |