index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-12-20 14:26:46 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-20 14:26:46 +0100 |
commit | a93605f5f7880437ae3f1deb84fa593eb1b1ed3e (patch) | |
tree | 8dd8d5cc01f01d05b8dff5bb4d9d7ec40d8cc1ca /extra/hspell | |
parent | 0efbf7fdc16305cbed4ccf1abe92c7a9eb972a5a (diff) |
-rw-r--r-- | extra/hspell/PKGBUILD | 20 |
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; / + } + ' +)" |