summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2020-01-07 13:20:08 -0500
committerSam Whited2020-01-07 13:20:08 -0500
commit02d7747dccf9ce957c58c38e216619016b5df38f (patch)
tree6905300163e9914a6153fdd9f67facf685ef5644
parentc5c1597a27ba138ca0dc96ce67c6b8265d3bf077 (diff)
downloadaur-02d7747dccf9ce957c58c38e216619016b5df38f.tar.gz
Build missing tools that moved out of cmd/
-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() {