Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 14:26:46 +0100
committerErich Eckner <git@eckner.net>2019-12-20 14:26:46 +0100
commita93605f5f7880437ae3f1deb84fa593eb1b1ed3e (patch)
tree8dd8d5cc01f01d05b8dff5bb4d9d7ec40d8cc1ca /extra
parent0efbf7fdc16305cbed4ccf1abe92c7a9eb972a5a (diff)
extra/hspell: no qt5-webengine on i486
Diffstat (limited to 'extra')
-rw-r--r--extra/hspell/PKGBUILD20
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; /
+ }
+ '
+)"