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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Jan 26 18:56:05 UTC 2019


    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
===================================================================
--- PKGBUILD	2019-01-26 18:55:58 UTC (rev 428172)
+++ PKGBUILD	2019-01-26 18:56:03 UTC (rev 428173)
@@ -1,56 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-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)
+++ PKGBUILD	2019-01-26 18:56:03 UTC (rev 428173)
@@ -0,0 +1,56 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+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"
+}


More information about the arch-commits mailing list