summaryrefslogtreecommitdiff
path: root/extra/networkmanager/PKGBUILD
blob: 14807142ce1994e1c3ef5ddafb057e98dfbe298b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ignoring failing tests temporarily 2 fail also upstream, 7 fail on
# pentium4 and i686
eval "$(
  declare -f check | \
    sed '
      s/\(meson test.*\)/\1 || true/
    '
)"

# no polkit, no js78, no rust, use polkit-duktape on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//polkit/})
  makedepends+=(polkit-duktape)

  eval "$(
    declare -f package_networkmanager | \
      sed '
        /depends/s/polkit/polkit-duktape/
      '
  )"
fi