summaryrefslogtreecommitdiff
path: root/community/go/PKGBUILD
blob: d1cd4d9f2ab89a133492f447476eb69e53ce2b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
eval "$(
  declare -f build | \
    sed '
      /install\( .*\)\? -race /d
    '
  declare -f package_go-pie | \
    sed '
      s,\(/linux_\)amd64\([_/]\),\1386\2,g
    '
)"

eval "$(
  declare -f build check _package \
    | sed '
      s/\(export GOARCH=\)amd64/\1386 /
    '
)"