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

Morten Linderud foxboron at gemini.archlinux.org
Sun Dec 5 15:21:47 UTC 2021


    Date: Sunday, December 5, 2021 @ 15:21:46
  Author: foxboron
Revision: 1065164

archrelease: copy trunk to community-x86_64

Added:
  go-tools/repos/community-x86_64/PKGBUILD
    (from rev 1065163, go-tools/trunk/PKGBUILD)
Deleted:
  go-tools/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-05 15:21:41 UTC (rev 1065163)
+++ PKGBUILD	2021-12-05 15:21:46 UTC (rev 1065164)
@@ -1,51 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=go-tools
-epoch=4
-pkgver=0.1.7
-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=0df0ca0f43117120bd7cc900ebf765f9b799438a
-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)
-
-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"
-}

Copied: go-tools/repos/community-x86_64/PKGBUILD (from rev 1065163, go-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-05 15:21:46 UTC (rev 1065164)
@@ -0,0 +1,51 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=go-tools
+epoch=4
+pkgver=0.1.8
+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=e212aff8fd146c44ddb0167c1dfbd5531d6c9213
+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)
+
+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"
+}



More information about the arch-commits mailing list