summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
blob: f35e93236a6822b1722dce1525322121f6a93789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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