summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 37224560b0e..cd3999dca04 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_20200103221440_774c71fcf114
+ pkgver = v0.0.0_20200107181558_a222fb47e2f1
pkgrel = 1
url = https://godoc.org/golang.org/x/tools/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e6159cd0d09..36ffa5449d5 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_20200103221440_774c71fcf114
+pkgver=v0.0.0_20200107181558_a222fb47e2f1
pkgrel=1
pkgdesc='Developer tools for the Go programming language'
arch=(x86_64)
@@ -42,12 +42,13 @@ build() {
-trimpath \
-ldflags "-extldflags ${LDFLAGS}" \
-buildmode=pie \
- ./cmd/...
-}
-
-check() {
- cd "${pkgname}"
- go test ./cmd/...
+ ./...
+ cd gopls/
+ GOCACHE="${srcdir}/cache" GOBIN="${srcdir}/build" go install -v -a \
+ -trimpath \
+ -ldflags "-extldflags ${LDFLAGS}" \
+ -buildmode=pie \
+ .
}
package() {