diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/hspell/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/hspell/PKGBUILD b/extra/hspell/PKGBUILD new file mode 100644 index 00000000..f1b372e9 --- /dev/null +++ b/extra/hspell/PKGBUILD @@ -0,0 +1,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; / + } + ' +)" |