summaryrefslogtreecommitdiff
path: root/extra/hspell/PKGBUILD
blob: f1b372e97b2fef3028f6c0f1c5bfc3415623ab63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# no qt5-webengine on i486
if makedepends_i686=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -xF qt5-webengine
  )
); then
  makedepends_pentium4=("${makedepends_i686[@]}")
  makedepends=(${makedepends[@]//qt5-webengine/})
fi
eval "$(
  declare -f package_hunspell-he \
  | sed '
    /^\s*install .*qtwebengine_dictionaries/ s/^/if [ "${CARCH}" != i486 ]; then /
    /^\s*qwebengine_convert_dict / {
      N
      s/$/ ; fi; /
    }
  '
)"