Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 06:56:37 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 06:56:37 +0200
commit2127d98dced23abdca564097d8c8f740a9a3e7ab (patch)
tree37410abf771c36df9f4b38c15c5a8463310a2fe6
parente6d41172edf4e422b0d2d16346a72f6cdd7462c4 (diff)
extra/qtkeychain: no Qt6 on i486
-rw-r--r--extra/qtkeychain/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/qtkeychain/PKGBUILD b/extra/qtkeychain/PKGBUILD
new file mode 100644
index 00000000..5cf0d1c5
--- /dev/null
+++ b/extra/qtkeychain/PKGBUILD
@@ -0,0 +1,19 @@
+# no Qt6 yet on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//qt6-tools/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /build-qt6/d
+ '
+ )
+ "
+ eval "$(
+ declare -f package_qtkeychain-qt6 | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ )
+ "
+fi