# no polkit on i486
if [ "$CARCH" = 'i486' ]; then
  depends=(${depends[@]//polkit/})
  eval "$(
    declare -f package | \
      sed '
        /polkit/d
      '
  )"  
fi

# java breaks to often, do not build optional Java stuff marked as
# optdepends
makedepends=(${makedepends[@]//java-environment/})