summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD7
3 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6eb6f388340..37224560b0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = go-tools-git
pkgdesc = Developer tools for the Go programming language
- pkgver = v0.0.0_20190826234050_71894ab67ee3
+ pkgver = v0.0.0_20200103221440_774c71fcf114
pkgrel = 1
url = https://godoc.org/golang.org/x/tools/
arch = x86_64
diff --git a/.gitignore b/.gitignore
index 28942307828..9b6c6d993aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
go-tools-git/
pkg/
src/
+*.tar
*.tar.gz
*.tar.xz
+*.tar.zstd
*.zip
diff --git a/PKGBUILD b/PKGBUILD
index ade7945a016..e6159cd0d09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Egor Kovetskiy <e.kovetskiy@office.ngs.ru>
pkgname=go-tools-git
-pkgver=v0.0.0_20190826234050_71894ab67ee3
+pkgver=v0.0.0_20200103221440_774c71fcf114
pkgrel=1
pkgdesc='Developer tools for the Go programming language'
arch=(x86_64)
@@ -31,18 +31,15 @@ pkgver() {
prepare() {
- export GO111MODULE=on
rm -rf build/
mkdir -p build/
mkdir -p cache/
}
build() {
- export GO111MODULE=on
cd "${pkgname}"
GOCACHE="${srcdir}/cache" GOBIN="${srcdir}/build" go install -v -a \
- -gcflags "all=-trimpath=${PWD}" \
- -asmflags "all=-trimpath=${PWD}" \
+ -trimpath \
-ldflags "-extldflags ${LDFLAGS}" \
-buildmode=pie \
./cmd/...