summaryrefslogtreecommitdiff
path: root/extra/git/PKGBUILD
blob: d78c51810f7612eaa68b3eafae2d3fa0528a191a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 486-specific
if [ "${CARCH}" = "i486" ]; then
  # we currently have no Gnome and libsecret, so disable integration
  makedepends=(${makedepends[@]//libgnome-keyring/})
  makedepends=(${makedepends[@]//libsecret/})
  eval "$(
    declare -f build | \
      sed '
        s@\(make -C contrib/credential/gnome-keyring\)@#\1@
        s@\(make -C contrib/credential/libsecret\)@#\1@
      '
    declare -f package | \
      sed '
        /gnome-keyring/d
        /libsecret/d
      '
  )"
fi