Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pinentry
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /core/pinentry
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'core/pinentry')
-rw-r--r--core/pinentry/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/core/pinentry/PKGBUILD b/core/pinentry/PKGBUILD
index 9c1f0644..a36a140d 100644
--- a/core/pinentry/PKGBUILD
+++ b/core/pinentry/PKGBUILD
@@ -1,8 +1,15 @@
+# no GUI stuff on i486
+makedepends=(${makedepends[@]//gtk2/})
+makedepends=(${makedepends[@]//qt5-base/})
+makedepends_i686+=(gtk2 qt5-base)
+
+# no gcr on i486
+makedepends=(${makedepends[@]//gcr/})
+makedepends_i686+=(gcr)
+
# i486-specific
if [ "${CARCH}" = "i486" ]; then
# no GUI stuff
- makedepends=(${makedepends[@]//gtk2/})
- makedepends=(${makedepends[@]//qt5-base/})
eval "$(
declare -f build | \
sed '
@@ -11,7 +18,4 @@ if [ "${CARCH}" = "i486" ]; then
s/--enable-pinentry-qt/--disable-pinentry-qt/
'
)"
-
- # no gcr
- makedepends=(${makedepends[@]//gcr/})
fi