Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/go/PKGBUILD
blob: d28d6699b1539b0f06b73c80739d4987debadc4c (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 GO386=387/
    '
)"