summaryrefslogtreecommitdiff
path: root/extra/brltty/PKGBUILD
blob: cf6a11f2a7dce163ca2ccfa5eb68732733b4a38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# no java on i486 at the moment
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//java-environment/})
fi

# add espeak explicitely on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends+=(espeak)
fi

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