[arch-commits] Commit in go-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Wed Aug 14 20:03:31 UTC 2019


    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
===================================================================
--- PKGBUILD	2019-08-14 20:03:21 UTC (rev 499224)
+++ PKGBUILD	2019-08-14 20:03:30 UTC (rev 499225)
@@ -1,57 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-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)
+++ PKGBUILD	2019-08-14 20:03:30 UTC (rev 499225)
@@ -0,0 +1,57 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+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"
+}


More information about the arch-commits mailing list