Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/lxsession/PKGBUILD
blob: 1a30f4fa7945fd28aaba37fa5ae0db4b976ee30c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# use polkit-duktape instead of polkit on i486
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