summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3de4b30d8546..7a49a0d0363c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,8 @@ build() {
-a -v \
-ldflags="-X main.version=${pkgver}" \
-mod=readonly
+
+ GO111MODULE=on GOPATH="${srcdir}/go" go clean -modcache
}
package() {