Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/lightdm/PKGBUILD
blob: 93a0e4fa470c59d359c856cfa7a616f2346622c7 (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
  makedepends=(${makedepends[@]//polkit/})
  makedepends+=(polkit-duktape)
  eval "$(
    declare -f package_lightdm | \
      sed '
        /depends/s/polkit/polkit-duktape/
      '
  )"  
  eval "$(
    declare -f package_lightdm | \
      sed '
        /install.*lightdm.service/ a \
          sed -i \"/.*Service.*/ a LimitMEMLOCK=infinity\" "${pkgdir}"/usr/lib/systemd/system/lightdm.service
      '
  )"
fi