Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pinentry/PKGBUILD
blob: 9c1f0644e784a4964a2bfb1e27c631557513ee48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no GUI stuff
  makedepends=(${makedepends[@]//gtk2/})
  makedepends=(${makedepends[@]//qt5-base/})
  eval "$(
    declare -f build | \
      sed '
        s/--enable-pinentry-gtk2/--disable-pinentry-gtk2/
        s/--enable-pinentry-gnome3/--disable-pinentry-gnome3/
        s/--enable-pinentry-qt/--disable-pinentry-qt/
      '
  )"

  # no gcr
  makedepends=(${makedepends[@]//gcr/})
fi