index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/lightdm/PKGBUILD | 14 |
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 ' |