From 64592f10dcd91ad4a8119c28703ca8647da914e7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 28 Mar 2019 14:32:25 +0100 Subject: community/go: fix GOARCH replacing --- community/go/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 106707ad..d28d6699 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -9,4 +9,9 @@ eval "$( ' )" -export GOARCH=386 GO386=387 +eval "$( + declare -f build check _package \ + | sed ' + s/\(export GOARCH=\)amd64/\1386 GO386=387/ + ' +)" -- cgit v1.2.3-70-g09d2