Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
blob: 6fdb2a395d4b2c3a7cd1c732131b8e3c7c2e05b3 (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 package_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