[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, September 17, 2020 @ 21:51:13 Author: foxboron Revision: 709467 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 709466, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 122 - 1 file changed, 57 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-17 21:51:05 UTC (rev 709466) +++ PKGBUILD2020-09-17 21:51:13 UTC (rev 709467) @@ -1,65 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.15+4895+c1934b75d -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go) -_commit=c1934b75d054975b79a8179cb6f0a9b8b3fa33cd -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit) -md5sums=('SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.15 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { -cd go-tools -mkdir -p bin/ -} - -build() { - cd go-tools - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -o bin/ ./cmd/... - - cd gopls - go build -o ../bin/ ./... -} - -check() { - cd go-tools - # Needs to be updated and godoc is failing the test suite - # See https://github.com/golang/go/issues/35690 - go test ./cmd/... || true - - # It's just broken. - cd gopls - go test ./... || true -} - -package() { - cd go-tools - for tool in ${_tools[@]}; do -install -Dm755 bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 709466, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-17 21:51:13 UTC (rev 709467) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.15+4895+c1934b75d +pkgrel=2 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go) +_commit=c1934b75d054975b79a8179cb6f0a9b8b3fa33cd +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit) +md5sums=('SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer toolstash) + +pkgver() { + local _gover=1.15 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { +cd go-tools +mkdir -p bin/ +} + +build() { + cd go-tools + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + go build -o bin/ ./cmd/... +} + +check() { + cd go-tools + # Needs to be updated and godoc is failing the test suite + # See https://github.com/golang/go/issues/35690 + go test ./cmd/... || true +} + +package() { + cd go-tools + for tool in ${_tools[@]}; do +install -Dm755 bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, August 12, 2020 @ 10:02:00 Author: foxboron Revision: 675726 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 675725, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 129 ++--- 1 file changed, 65 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-08-12 10:01:52 UTC (rev 675725) +++ PKGBUILD2020-08-12 10:02:00 UTC (rev 675726) @@ -1,64 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.14+3923+c00d67ef2 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go) -_commit=c00d67ef29d03e4dd86a6fb6a75dba1b71a5e294 -_net_commit=ef20fe5d793301b553005db740f730d87993f778 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.14 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - go install -v -a ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - # Needs to be updated and godoc is failing the test suite - # See https://github.com/golang/go/issues/35690 - go test ./cmd/... || true -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 675725, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-08-12 10:02:00 UTC (rev 675726) @@ -0,0 +1,65 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.15+4895+c1934b75d +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go) +_commit=c1934b75d054975b79a8179cb6f0a9b8b3fa33cd +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit) +md5sums=('SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.15 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { +cd go-tools +mkdir -p bin/ +} + +build() { + cd go-tools + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + go build -o bin/ ./cmd/... + + cd gopls + go build -o ../bin/ ./... +} + +check() { + cd go-tools + # Needs to be updated and godoc is failing the test suite + # See https://github.com/golang/go/issues/35690 + go test ./cmd/... || true + + # It's just broken. + cd gopls + go test ./... || true +} + +package() { + cd go-tools + for tool in ${_tools[@]}; do +install -Dm755 bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, June 9, 2020 @ 21:33:25 Author: foxboron Revision: 641013 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 641012, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 123 +++-- 1 file changed, 64 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-06-09 21:33:17 UTC (rev 641012) +++ PKGBUILD2020-06-09 21:33:25 UTC (rev 641013) @@ -1,59 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.14+3922+575de4798 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=575de47986ce07f39826bf8d5e365d5ebf51ee63 -_net_commit=ef20fe5d793301b553005db740f730d87993f778 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.14 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - # Needs to be updated and godoc is failing the test suite - # See https://github.com/golang/go/issues/35690 - go test ./cmd/... || true -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 641012, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-06-09 21:33:25 UTC (rev 641013) @@ -0,0 +1,64 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.14+3923+c00d67ef2 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go) +_commit=c00d67ef29d03e4dd86a6fb6a75dba1b71a5e294 +_net_commit=ef20fe5d793301b553005db740f730d87993f778 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.14 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + go install -v -a ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + # Needs to be updated and godoc is failing the test suite + # See https://github.com/golang/go/issues/35690 + go test ./cmd/... || true +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, March 7, 2020 @ 13:56:01 Author: foxboron Revision: 591147 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 591146, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 116 +++-- 1 file changed, 59 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-07 13:55:51 UTC (rev 591146) +++ PKGBUILD2020-03-07 13:56:01 UTC (rev 591147) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.13+3523+65e3620a7 -pkgrel=3 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 -_net_commit=13f9640d40b9cc418fb53703dfbd177679788ceb -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.13 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 591146, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-07 13:56:01 UTC (rev 591147) @@ -0,0 +1,59 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.14+3922+575de4798 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=575de47986ce07f39826bf8d5e365d5ebf51ee63 +_net_commit=ef20fe5d793301b553005db740f730d87993f778 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.14 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + # Needs to be updated and godoc is failing the test suite + # See https://github.com/golang/go/issues/35690 + go test ./cmd/... || true +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, November 2, 2019 @ 11:03:27 Author: foxboron Revision: 522153 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 522152, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-02 11:03:19 UTC (rev 522152) +++ PKGBUILD2019-11-02 11:03:27 UTC (rev 522153) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.13+3523+65e3620a7 -pkgrel=2 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 -_net_commit=74dc4d7220e7acc4e100824340f3e66577424772 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.13 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 522152, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-02 11:03:27 UTC (rev 522153) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.13+3523+65e3620a7 +pkgrel=3 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 +_net_commit=13f9640d40b9cc418fb53703dfbd177679788ceb +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.13 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, October 14, 2019 @ 15:22:59 Author: foxboron Revision: 515716 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 515715, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-14 15:22:49 UTC (rev 515715) +++ PKGBUILD2019-10-14 15:22:59 UTC (rev 515716) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.13+3523+65e3620a7 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 -_net_commit=74dc4d7220e7acc4e100824340f3e66577424772 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer gopls -toolstash) - -pkgver() { - local _gover=1.13 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 515715, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-14 15:22:59 UTC (rev 515716) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.13+3523+65e3620a7 +pkgrel=2 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 +_net_commit=74dc4d7220e7acc4e100824340f3e66577424772 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.13 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, September 3, 2019 @ 20:24:47 Author: foxboron Revision: 507946 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 507945, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-09-03 20:24:38 UTC (rev 507945) +++ PKGBUILD2019-09-03 20:24:47 UTC (rev 507946) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.12+2917+aa8296574 -pkgrel=2 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8 -_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer -toolstash) - -pkgver() { - local _gover=1.12 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 507945, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-09-03 20:24:47 UTC (rev 507946) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.13+3523+65e3620a7 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3 +_net_commit=74dc4d7220e7acc4e100824340f3e66577424772 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer gopls +toolstash) + +pkgver() { + local _gover=1.13 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, August 14, 2019 @ 20:10:22 Author: foxboron Revision: 499227 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 499226, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-14 20:10:13 UTC (rev 499226) +++ PKGBUILD2019-08-14 20:10:22 UTC (rev 499227) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.12+2917+aa8296574 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='https://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8 -_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer -toolstash) - -pkgver() { - local _gover=1.12 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 499226, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-14 20:10:22 UTC (rev 499227) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.12+2917+aa8296574 +pkgrel=2 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8 +_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer +toolstash) + +pkgver() { + local _gover=1.12 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, August 14, 2019 @ 20:03:30 Author: foxboron Revision: 499225 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 499224, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-14 20:03:21 UTC (rev 499224) +++ PKGBUILD2019-08-14 20:03:30 UTC (rev 499225) @@ -1,57 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.12+2915+49d818b07 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='http://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=49d818b07734fb3230f2d00bc5d4453348348d24 -_net_commit=16b79f2e4e95ea23b2bf9903c9809ff7b013ce85 -source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit -golang-net::git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru html2article present ssadump stringer -toolstash) - -pkgver() { - local _gover=1.12 - cd go-tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf go-tools gopath/src/golang.org/x/tools - cp -rf golang-net gopath/src/golang.org/x/net -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 499224, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-14 20:03:30 UTC (rev 499225) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.12+2917+aa8296574 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='https://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8 +_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer +toolstash) + +pkgver() { + local _gover=1.12 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, March 8, 2019 @ 15:11:04 Author: bpiotrowski Revision: 438084 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 438083, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 113 ++--- 1 file changed, 57 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-03-08 15:10:54 UTC (rev 438083) +++ PKGBUILD2019-03-08 15:11:04 UTC (rev 438084) @@ -1,56 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.11+2495+9e9bf16a4 -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='http://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=9e9bf16a4efe175e2867e1661feefa6278e4e14e -_net_commit=c39426892332e1bb5ec0a434a079bf82f5d30c54 -source=(git+https://go.googlesource.com/tools#commit=$_commit -git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru heapview html2article present ssadump stringer -tip toolstash) - -pkgver() { - local _gover=1.11 - cd tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf tools net gopath/src/golang.org/x/ -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 438083, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-03-08 15:11:04 UTC (rev 438084) @@ -0,0 +1,57 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.12+2915+49d818b07 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='http://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=49d818b07734fb3230f2d00bc5d4453348348d24 +_net_commit=16b79f2e4e95ea23b2bf9903c9809ff7b013ce85 +source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit +golang-net::git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru html2article present ssadump stringer +toolstash) + +pkgver() { + local _gover=1.12 + cd go-tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf go-tools gopath/src/golang.org/x/tools + cp -rf golang-net gopath/src/golang.org/x/net +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, January 26, 2019 @ 18:56:03 Author: bpiotrowski Revision: 428173 archrelease: copy trunk to community-x86_64 Added: go-tools/repos/community-x86_64/PKGBUILD (from rev 428172, go-tools/trunk/PKGBUILD) Deleted: go-tools/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 112 ++--- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-26 18:55:58 UTC (rev 428172) +++ PKGBUILD2019-01-26 18:56:03 UTC (rev 428173) @@ -1,56 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski -# Maintainer: Morten Linderud - -pkgname=go-tools -epoch=2 -pkgver=1.11+2495+9e9bf16a -pkgrel=1 -pkgdesc='Developer tools for the Go programming language' -arch=(x86_64) -url='http://golang.org/' -license=(BSD) -depends=(glibc) -makedepends=(git go-pie) -_commit=9e9bf16a4efe175e2867e1661feefa6278e4e14e -_net_commit=c39426892332e1bb5ec0a434a079bf82f5d30c54 -source=(git+https://go.googlesource.com/tools#commit=$_commit -git+https://github.com/golang/net#commit=$_net_commit) -md5sums=('SKIP' - 'SKIP') - -_tools=(benchcmp callgraph compilebench cover digraph eg fiximports -go-contrib-init godex godoc goimports gomvpkg gorename gotype -goyacc guru heapview html2article present ssadump stringer -tip toolstash) - -pkgver() { - local _gover=1.11 - cd tools - printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ -"$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p gopath/src/golang.org/x - cp -rf tools net gopath/src/golang.org/x/ -} - -build() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... -} - -check() { - export GOPATH="$srcdir/gopath" - cd gopath/src/golang.org/x/tools - go test ./cmd/... -} - -package() { - for tool in ${_tools[@]}; do -install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" - done - - install -Dm644 tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 428172, go-tools/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-26 18:56:03 UTC (rev 428173) @@ -0,0 +1,56 @@ +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Morten Linderud + +pkgname=go-tools +epoch=2 +pkgver=1.11+2495+9e9bf16a4 +pkgrel=1 +pkgdesc='Developer tools for the Go programming language' +arch=(x86_64) +url='http://golang.org/' +license=(BSD) +depends=(glibc) +makedepends=(git go-pie) +_commit=9e9bf16a4efe175e2867e1661feefa6278e4e14e +_net_commit=c39426892332e1bb5ec0a434a079bf82f5d30c54 +source=(git+https://go.googlesource.com/tools#commit=$_commit +git+https://github.com/golang/net#commit=$_net_commit) +md5sums=('SKIP' + 'SKIP') + +_tools=(benchcmp callgraph compilebench cover digraph eg fiximports +go-contrib-init godex godoc goimports gomvpkg gorename gotype +goyacc guru heapview html2article present ssadump stringer +tip toolstash) + +pkgver() { + local _gover=1.11 + cd tools + printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \ +"$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p gopath/src/golang.org/x + cp -rf tools net gopath/src/golang.org/x/ +} + +build() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/... +} + +check() { + export GOPATH="$srcdir/gopath" + cd gopath/src/golang.org/x/tools + go test ./cmd/... +} + +package() { + for tool in ${_tools[@]}; do +install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool" + done + + install -Dm644 tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}