Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
blob: 121220d13a31427e559eb4a377a7994becc11b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
eval "$(
  declare -f package_python-gpgme package_python2-gpgme qgpgme | \
    sed '
      /^\s*{\s*$/ a arch=('"$(
        printf '%s\n' "${arch[@]}" | \
          grep -vxF 'i486' | \
          tr '\n' ' '
      )"')
    '
)"
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # we only build the library
  pkgname=(gpgme)

  # no Qt library
  makedepends=(${makedepends[@]//qt5-base/})

  # no language bindings
  makedepends=(${makedepends[@]//swig/})
  eval "$(
    declare -f build | \
      sed '
        s@./configure@./configure --enable-languages=no@
      '
  )"
  eval "$(
    declare -f package_gpgme | \
      sed '
        /rm /d
      '
  )"
fi