summaryrefslogtreecommitdiff
path: root/community/consul/PKGBUILD
blob: f54ee869f3a084a1fc3ea721a05bd14c5745e71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
eval "$(
  declare -f prepare | \
    sed '
      $ i sed -i "s/amd64/386/g" "${srcdir}/src/github.com/hashicorp/${pkgname}/GNUmakefile"
    '
)"

eval "$(
  declare -f build | \
    sed '
      s/amd64/i386/g
    '
)"