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

2020-12-11 Thread Nicola Squartini via arch-commits
Date: Saturday, December 12, 2020 @ 02:29:02
  Author: tensor5
Revision: 773249

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-12 02:28:32 UTC (rev 773248)
+++ PKGBUILD2020-12-12 02:29:02 UTC (rev 773249)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.24
-_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
-pkgrel=2
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-#export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 773248, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-12 02:29:02 UTC (rev 773249)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.25
+_commit=e7872729012a4871397307b12cc3f4772ffcbec6
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+#export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-12-11 Thread Nicola Squartini via arch-commits
Date: Saturday, December 12, 2020 @ 02:28:32
  Author: tensor5
Revision: 773248

upgpkg: go-ethereum 1.9.25-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-12 00:33:42 UTC (rev 773247)
+++ PKGBUILD2020-12-12 02:28:32 UTC (rev 773248)
@@ -1,9 +1,9 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.24
-_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
-pkgrel=2
+pkgver=1.9.25
+_commit=e7872729012a4871397307b12cc3f4772ffcbec6
+pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')
 url='https://geth.ethereum.org/'


[arch-commits] Commit in go/repos/community-x86_64 (3 files)

2020-12-03 Thread Morten Linderud via arch-commits
Date: Thursday, December 3, 2020 @ 22:03:41
  Author: foxboron
Revision: 769823

archrelease: copy trunk to community-x86_64

Added:
  go/repos/community-x86_64/PKGBUILD
(from rev 769822, go/trunk/PKGBUILD)
Deleted:
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/fix-ldflags.patch

---+
 PKGBUILD  |  183 +---
 fix-ldflags.patch |   26 ---
 2 files changed, 90 insertions(+), 119 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-03 22:00:20 UTC (rev 769822)
+++ PKGBUILD2020-12-03 22:03:41 UTC (rev 769823)
@@ -1,93 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.5
-pkgrel=2
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;
-"fix-ldflags.patch")
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
-'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357'
-'57793df3095606f930b95c8b40deca6a0c9dbc3b3fcc491ad77a91c01f67c12e')
-
-prepare() {
-cd "${pkgname}"
-patch -Np1 < "$srcdir/fix-color.patch"
-patch -Np1 < "$srcdir/fix-ldflags.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 769822, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-03 22:03:41 UTC (rev 769823)
@@ -0,0 +1,90 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.6
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('890bba73c5e2b19ffb1180e385ea225059eb008eb91b694875dd86ea48675817'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
+
+prepare() {
+cd 

[arch-commits] Commit in go/trunk (fix-ldflags.patch)

2020-12-03 Thread Morten Linderud via arch-commits
Date: Thursday, December 3, 2020 @ 22:00:20
  Author: foxboron
Revision: 769822

Removed patch

Deleted:
  go/trunk/fix-ldflags.patch

---+
 fix-ldflags.patch |   26 --
 1 file changed, 26 deletions(-)

Deleted: fix-ldflags.patch
===
--- fix-ldflags.patch   2020-12-03 21:59:39 UTC (rev 769821)
+++ fix-ldflags.patch   2020-12-03 22:00:20 UTC (rev 769822)
@@ -1,26 +0,0 @@
-diff --git a/src/cmd/go/internal/work/exec.go 
b/src/cmd/go/internal/work/exec.go
-index 2c40a4b..157ac4c 100644
 a/src/cmd/go/internal/work/exec.go
-+++ b/src/cmd/go/internal/work/exec.go
-@@ -2883,6 +2883,21 @@
-   idx = bytes.Index(src, []byte(cgoLdflag))
-   }
-   }
-+
-+  // We expect to find the contents of cgoLDFLAGS in flags.
-+  if len(cgoLDFLAGS) > 0 {
-+  outer:
-+  for i := range flags {
-+  for j, f := range cgoLDFLAGS {
-+  if f != flags[i+j] {
-+  continue outer
-+  }
-+  }
-+  flags = append(flags[:i], 
flags[i+len(cgoLDFLAGS):]...)
-+  break
-+  }
-+  }
-+
-   if err := checkLinkerFlags("LDFLAGS", "go:cgo_ldflag", flags); 
err != nil {
-   return nil, nil, err
-   }


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-12-03 Thread Morten Linderud via arch-commits
Date: Thursday, December 3, 2020 @ 21:59:39
  Author: foxboron
Revision: 769821

upgpkg: go 2:1.15.6-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-03 21:27:17 UTC (rev 769820)
+++ PKGBUILD2020-12-03 21:59:39 UTC (rev 769821)
@@ -13,8 +13,8 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15.5
-pkgrel=2
+pkgver=1.15.6
+pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -24,18 +24,15 @@
 provides=(go-pie)
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;
-"fix-ldflags.patch")
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
+sha256sums=('890bba73c5e2b19ffb1180e385ea225059eb008eb91b694875dd86ea48675817'
 'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357'
-'57793df3095606f930b95c8b40deca6a0c9dbc3b3fcc491ad77a91c01f67c12e')
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
 
 prepare() {
 cd "${pkgname}"
 patch -Np1 < "$srcdir/fix-color.patch"
-patch -Np1 < "$srcdir/fix-ldflags.patch"
 }
 
 build() {


[arch-commits] Commit in go/repos/community-x86_64 (3 files)

2020-11-14 Thread Morten Linderud via arch-commits
Date: Saturday, November 14, 2020 @ 11:58:33
  Author: foxboron
Revision: 754065

archrelease: copy trunk to community-x86_64

Added:
  go/repos/community-x86_64/PKGBUILD
(from rev 754064, go/trunk/PKGBUILD)
  go/repos/community-x86_64/fix-ldflags.patch
(from rev 754064, go/trunk/fix-ldflags.patch)
Deleted:
  go/repos/community-x86_64/PKGBUILD

---+
 PKGBUILD  |  183 ++--
 fix-ldflags.patch |   26 +++
 2 files changed, 119 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-14 11:58:24 UTC (rev 754064)
+++ PKGBUILD2020-11-14 11:58:33 UTC (rev 754065)
@@ -1,90 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.5
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
-'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
-
-prepare() {
-cd "${pkgname}"
-patch -Np1 < "$srcdir/fix-color.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 754064, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-14 11:58:33 UTC (rev 754065)
@@ -0,0 +1,93 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.5
+pkgrel=2
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;
+"fix-ldflags.patch")
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357'
+'57793df3095606f930b95c8b40deca6a0c9dbc3b3fcc491ad77a91c01f67c12e')
+
+prepare() {
+cd 

[arch-commits] Commit in go/trunk (PKGBUILD fix-ldflags.patch)

2020-11-14 Thread Morten Linderud via arch-commits
Date: Saturday, November 14, 2020 @ 11:58:24
  Author: foxboron
Revision: 754064

upgpkg: go 2:1.15.5-2

Added:
  go/trunk/fix-ldflags.patch
Modified:
  go/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 fix-ldflags.patch |   26 ++
 2 files changed, 32 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-14 11:53:39 UTC (rev 754063)
+++ PKGBUILD2020-11-14 11:58:24 UTC (rev 754064)
@@ -14,7 +14,7 @@
 pkgname=go
 epoch=2
 pkgver=1.15.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -24,15 +24,18 @@
 provides=(go-pie)
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;
+"fix-ldflags.patch")
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
 sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
 'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357'
+'57793df3095606f930b95c8b40deca6a0c9dbc3b3fcc491ad77a91c01f67c12e')
 
 prepare() {
 cd "${pkgname}"
 patch -Np1 < "$srcdir/fix-color.patch"
+patch -Np1 < "$srcdir/fix-ldflags.patch"
 }
 
 build() {

Added: fix-ldflags.patch
===
--- fix-ldflags.patch   (rev 0)
+++ fix-ldflags.patch   2020-11-14 11:58:24 UTC (rev 754064)
@@ -0,0 +1,26 @@
+diff --git a/src/cmd/go/internal/work/exec.go 
b/src/cmd/go/internal/work/exec.go
+index 2c40a4b..157ac4c 100644
+--- a/src/cmd/go/internal/work/exec.go
 b/src/cmd/go/internal/work/exec.go
+@@ -2883,6 +2883,21 @@
+   idx = bytes.Index(src, []byte(cgoLdflag))
+   }
+   }
++
++  // We expect to find the contents of cgoLDFLAGS in flags.
++  if len(cgoLDFLAGS) > 0 {
++  outer:
++  for i := range flags {
++  for j, f := range cgoLDFLAGS {
++  if f != flags[i+j] {
++  continue outer
++  }
++  }
++  flags = append(flags[:i], 
flags[i+len(cgoLDFLAGS):]...)
++  break
++  }
++  }
++
+   if err := checkLinkerFlags("LDFLAGS", "go:cgo_ldflag", flags); 
err != nil {
+   return nil, nil, err
+   }


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

2020-11-13 Thread Nicola Squartini via arch-commits
Date: Saturday, November 14, 2020 @ 02:19:23
  Author: tensor5
Revision: 754044

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-14 02:18:56 UTC (rev 754043)
+++ PKGBUILD2020-11-14 02:19:23 UTC (rev 754044)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.24
-_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 754043, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-14 02:19:23 UTC (rev 754044)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.24
+_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
+pkgrel=2
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+#export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-11-13 Thread Nicola Squartini via arch-commits
Date: Saturday, November 14, 2020 @ 02:18:56
  Author: tensor5
Revision: 754043

upgpkg: go-ethereum 1.9.24-2

Rebuild with Go 1.15.5.

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-14 01:01:05 UTC (rev 754042)
+++ PKGBUILD2020-11-14 02:18:56 UTC (rev 754043)
@@ -3,7 +3,7 @@
 pkgname=go-ethereum
 pkgver=1.9.24
 _commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
-pkgrel=1
+pkgrel=2
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')
 url='https://geth.ethereum.org/'
@@ -19,7 +19,7 @@
 build() {
 cd ${pkgname}
 
-export CGO_LDFLAGS="${LDFLAGS}"
+#export CGO_LDFLAGS="${LDFLAGS}"
 export GOFLAGS="-buildmode=pie"
 make all
 }


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-11-13 Thread Morten Linderud via arch-commits
Date: Friday, November 13, 2020 @ 16:10:19
  Author: foxboron
Revision: 753917

upgpkg: go 2:1.15.5-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-13 16:03:20 UTC (rev 753916)
+++ PKGBUILD2020-11-13 16:10:19 UTC (rev 753917)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15.4
+pkgver=1.15.5
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -26,7 +26,7 @@
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
 
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('063da6a9a4186b8118a0e584532c8c94e65582e2cd951ed078bfd595d27d2367'
+sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
 'SKIP'
 'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
 


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

2020-11-13 Thread Morten Linderud via arch-commits
Date: Friday, November 13, 2020 @ 16:10:27
  Author: foxboron
Revision: 753918

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  180 ++---
 1 file changed, 90 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-13 16:10:19 UTC (rev 753917)
+++ PKGBUILD2020-11-13 16:10:27 UTC (rev 753918)
@@ -1,90 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.4
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('063da6a9a4186b8118a0e584532c8c94e65582e2cd951ed078bfd595d27d2367'
-'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
-
-prepare() {
-cd "${pkgname}"
-patch -Np1 < "$srcdir/fix-color.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 753917, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-13 16:10:27 UTC (rev 753918)
@@ -0,0 +1,90 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.5
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
+
+prepare() {
+cd "${pkgname}"
+patch -Np1 < "$srcdir/fix-color.patch"
+}
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export 

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

2020-11-12 Thread Nicola Squartini via arch-commits
Date: Friday, November 13, 2020 @ 01:04:30
  Author: tensor5
Revision: 753819

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-13 01:04:03 UTC (rev 753818)
+++ PKGBUILD2020-11-13 01:04:30 UTC (rev 753819)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.23
-_commit=8c2f271528f9cccf541c6ea1c022e98407f26872
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 753818, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-13 01:04:30 UTC (rev 753819)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.24
+_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-11-12 Thread Nicola Squartini via arch-commits
Date: Friday, November 13, 2020 @ 01:04:03
  Author: tensor5
Revision: 753818

upgpkg: go-ethereum 1.9.24-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-13 00:36:24 UTC (rev 753817)
+++ PKGBUILD2020-11-13 01:04:03 UTC (rev 753818)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.23
-_commit=8c2f271528f9cccf541c6ea1c022e98407f26872
+pkgver=1.9.24
+_commit=cc05b050df5f88e80bb26aaf6d2f339c49c2d702
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-11-05 Thread Morten Linderud via arch-commits
Date: Friday, November 6, 2020 @ 00:23:47
  Author: foxboron
Revision: 743807

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  180 ++---
 1 file changed, 90 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-06 00:23:34 UTC (rev 743806)
+++ PKGBUILD2020-11-06 00:23:47 UTC (rev 743807)
@@ -1,90 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.3
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
-
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888'
-'SKIP'
-'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
-
-prepare() {
-cd "${pkgname}"
-patch -Np1 < "$srcdir/fix-color.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 743806, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-06 00:23:47 UTC (rev 743807)
@@ -0,0 +1,90 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.4
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('063da6a9a4186b8118a0e584532c8c94e65582e2cd951ed078bfd595d27d2367'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
+
+prepare() {
+cd "${pkgname}"
+patch -Np1 < "$srcdir/fix-color.patch"
+}
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export 

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-11-05 Thread Morten Linderud via arch-commits
Date: Friday, November 6, 2020 @ 00:23:34
  Author: foxboron
Revision: 743806

upgpkg: go 2:1.15.4-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-06 00:23:12 UTC (rev 743805)
+++ PKGBUILD2020-11-06 00:23:34 UTC (rev 743806)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15.3
+pkgver=1.15.4
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -26,7 +26,7 @@
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
 
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888'
+sha256sums=('063da6a9a4186b8118a0e584532c8c94e65582e2cd951ed078bfd595d27d2367'
 'SKIP'
 'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
 


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-10-16 Thread Morten Linderud via arch-commits
Date: Friday, October 16, 2020 @ 18:03:10
  Author: foxboron
Revision: 724861

upgpkg: go 2:1.15.3-1 - Adds fix-color patch for eli

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |   15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-16 17:32:01 UTC (rev 724860)
+++ PKGBUILD2020-10-16 18:03:10 UTC (rev 724861)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15.2
+pkgver=1.15.3
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -23,11 +23,18 @@
 replaces=(go-pie)
 provides=(go-pie)
 options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d'
-'SKIP')
+sha256sums=('896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
 
+prepare() {
+cd "${pkgname}"
+patch -Np1 < "$srcdir/fix-color.patch"
+}
+
 build() {
   export GOARCH=amd64
   export GOROOT_FINAL=/usr/lib/go


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

2020-10-16 Thread Morten Linderud via arch-commits
Date: Friday, October 16, 2020 @ 18:03:17
  Author: foxboron
Revision: 724862

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  173 +++--
 1 file changed, 90 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-10-16 18:03:10 UTC (rev 724861)
+++ PKGBUILD2020-10-16 18:03:17 UTC (rev 724862)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.2
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 724861, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-10-16 18:03:17 UTC (rev 724862)
@@ -0,0 +1,90 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.3
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
+
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch;)
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888'
+'SKIP'
+'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
+
+prepare() {
+cd "${pkgname}"
+patch -Np1 < "$srcdir/fix-color.patch"
+}
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export 

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

2020-10-15 Thread Nicola Squartini via arch-commits
Date: Friday, October 16, 2020 @ 01:28:49
  Author: tensor5
Revision: 724311

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-10-16 01:28:21 UTC (rev 724310)
+++ PKGBUILD2020-10-16 01:28:49 UTC (rev 724311)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.22
-_commit=c71a7e26a8b1e332bbf3262d88ba3ff32071456c
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 724310, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-10-16 01:28:49 UTC (rev 724311)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.23
+_commit=8c2f271528f9cccf541c6ea1c022e98407f26872
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-10-15 Thread Nicola Squartini via arch-commits
Date: Friday, October 16, 2020 @ 01:28:21
  Author: tensor5
Revision: 724310

upgpkg: go-ethereum 1.9.23-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-16 01:27:59 UTC (rev 724309)
+++ PKGBUILD2020-10-16 01:28:21 UTC (rev 724310)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.22
-_commit=c71a7e26a8b1e332bbf3262d88ba3ff32071456c
+pkgver=1.9.23
+_commit=8c2f271528f9cccf541c6ea1c022e98407f26872
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go-ipfs/trunk (PKGBUILD)

2020-10-12 Thread Johannes Löthberg via arch-commits
Date: Monday, October 12, 2020 @ 17:25:41
  Author: demize
Revision: 723698

upgpkg: go-ipfs 0.7.0-1

Modified:
  go-ipfs/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-12 17:22:15 UTC (rev 723697)
+++ PKGBUILD2020-10-12 17:25:41 UTC (rev 723698)
@@ -5,7 +5,7 @@
 # Contributor: Ian Naval 
 
 pkgname=go-ipfs
-pkgver=0.6.0
+pkgver=0.7.0
 pkgrel=1
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
@@ -22,7 +22,7 @@
 ipfs@.service)
 noextract=(go-ipfs-$pkgver.tar.gz)
 
-sha512sums=('36ac0fdea8942ef121614dd6dc53b0b5afe9963ac44b7d7c4c42753eebea7b8f14f483d9561ddd9207551cf91366aef8a27114f961d71d807ac088613a628b3c'
+sha512sums=('46ac79e5a0779bad298a3a0d201fb24408951523554cfa0223f3c50bf402a2bcaac9ec4d911f02799a6d77447127f33cb4f85a234fff40d6831b992e8a094c38'
 
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
 
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
 


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-10-12 Thread Johannes Löthberg via arch-commits
Date: Monday, October 12, 2020 @ 17:25:47
  Author: demize
Revision: 723699

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 723698, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 723698, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 723698, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 723698, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-10-12 17:25:47 UTC (rev 723699)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.7.0
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('46ac79e5a0779bad298a3a0d201fb24408951523554cfa0223f3c50bf402a2bcaac9ec4d911f02799a6d77447127f33cb4f85a234fff40d6831b992e8a094c38'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
+  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 723698, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-10-12 17:25:47 UTC (rev 
723699)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 723698, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-10-12 17:25:47 UTC (rev 
723699)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-10-05 Thread Nicola Squartini via arch-commits
Date: Monday, October 5, 2020 @ 07:12:23
  Author: tensor5
Revision: 718698

upgpkg: go-ethereum 1.9.22-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-05 07:11:29 UTC (rev 718697)
+++ PKGBUILD2020-10-05 07:12:23 UTC (rev 718698)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.21
-_commit=0287d54847d3297f3ced62cd83a4c95ccbe0045b
+pkgver=1.9.22
+_commit=c71a7e26a8b1e332bbf3262d88ba3ff32071456c
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-10-05 Thread Nicola Squartini via arch-commits
Date: Monday, October 5, 2020 @ 07:12:51
  Author: tensor5
Revision: 718700

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-10-05 07:12:33 UTC (rev 718699)
+++ PKGBUILD2020-10-05 07:12:51 UTC (rev 718700)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.21
-_commit=0287d54847d3297f3ced62cd83a4c95ccbe0045b
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 718699, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-10-05 07:12:51 UTC (rev 718700)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.22
+_commit=c71a7e26a8b1e332bbf3262d88ba3ff32071456c
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


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

2020-09-17 Thread Morten Linderud via arch-commits
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/trunk (PKGBUILD)

2020-09-17 Thread Morten Linderud via arch-commits
Date: Thursday, September 17, 2020 @ 21:51:05
  Author: foxboron
Revision: 709466

upgpkg: go-tools 2:1.15+4895+c1934b75d-2 - Solved FS#67922 - Removing gopls

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-17 21:50:56 UTC (rev 709465)
+++ PKGBUILD2020-09-17 21:51:05 UTC (rev 709466)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.15+4895+c1934b75d
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -17,8 +17,7 @@
 
 _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)
+goyacc guru html2article present ssadump stringer toolstash)
 
 pkgver() {
   local _gover=1.15
@@ -39,9 +38,6 @@
   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() {
@@ -49,10 +45,6 @@
   # 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() {


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

2020-09-13 Thread Nicola Squartini via arch-commits
Date: Monday, September 14, 2020 @ 00:11:45
  Author: tensor5
Revision: 705918

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-14 00:11:11 UTC (rev 705917)
+++ PKGBUILD2020-09-14 00:11:45 UTC (rev 705918)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.20
-_commit=979fc96899c77876e15807005eadd936da17b6c2
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 705917, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-14 00:11:45 UTC (rev 705918)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.21
+_commit=0287d54847d3297f3ced62cd83a4c95ccbe0045b
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-09-13 Thread Nicola Squartini via arch-commits
Date: Monday, September 14, 2020 @ 00:11:11
  Author: tensor5
Revision: 705917

upgpkg: go-ethereum 1.9.21-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-13 23:41:52 UTC (rev 705916)
+++ PKGBUILD2020-09-14 00:11:11 UTC (rev 705917)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.20
-_commit=979fc96899c77876e15807005eadd936da17b6c2
+pkgver=1.9.21
+_commit=0287d54847d3297f3ced62cd83a4c95ccbe0045b
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-09-09 Thread Morten Linderud via arch-commits
Date: Wednesday, September 9, 2020 @ 21:13:42
  Author: foxboron
Revision: 701666

upgpkg: go 2:1.15.2-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-09 20:41:28 UTC (rev 701665)
+++ PKGBUILD2020-09-09 21:13:42 UTC (rev 701666)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15.1
+pkgver=1.15.2
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30'
+sha256sums=('28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d'
 'SKIP')
 
 build() {


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

2020-09-09 Thread Morten Linderud via arch-commits
Date: Wednesday, September 9, 2020 @ 21:13:51
  Author: foxboron
Revision: 701667

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-09 21:13:42 UTC (rev 701666)
+++ PKGBUILD2020-09-09 21:13:51 UTC (rev 701667)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15.1
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 701666, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-09 21:13:51 UTC (rev 701667)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.2
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+

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

2020-09-01 Thread Morten Linderud via arch-commits
Date: Tuesday, September 1, 2020 @ 19:41:05
  Author: foxboron
Revision: 695898

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-01 19:40:57 UTC (rev 695897)
+++ PKGBUILD2020-09-01 19:41:05 UTC (rev 695898)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.15
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 695897, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-01 19:41:05 UTC (rev 695898)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15.1
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-09-01 Thread Morten Linderud via arch-commits
Date: Tuesday, September 1, 2020 @ 19:40:57
  Author: foxboron
Revision: 695897

upgpkg: go 2:1.15.1-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-01 19:39:45 UTC (rev 695896)
+++ PKGBUILD2020-09-01 19:40:57 UTC (rev 695897)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.15
+pkgver=1.15.1
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a'
+sha256sums=('d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30'
 'SKIP')
 
 build() {


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

2020-08-25 Thread Nicola Squartini via arch-commits
Date: Wednesday, August 26, 2020 @ 00:43:13
  Author: tensor5
Revision: 688896

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-26 00:42:46 UTC (rev 688895)
+++ PKGBUILD2020-08-26 00:43:13 UTC (rev 688896)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.19
-_commit=3e0641923d78bf1905e596a3a41a54277540bec7
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 688895, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-26 00:43:13 UTC (rev 688896)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.20
+_commit=979fc96899c77876e15807005eadd936da17b6c2
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-08-25 Thread Nicola Squartini via arch-commits
Date: Wednesday, August 26, 2020 @ 00:42:46
  Author: tensor5
Revision: 688895

upgpkg: go-ethereum 1.9.20-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-26 00:07:57 UTC (rev 688894)
+++ PKGBUILD2020-08-26 00:42:46 UTC (rev 688895)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.19
-_commit=3e0641923d78bf1905e596a3a41a54277540bec7
+pkgver=1.9.20
+_commit=979fc96899c77876e15807005eadd936da17b6c2
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2020-08-12 Thread Morten Linderud via arch-commits
Date: Wednesday, August 12, 2020 @ 10:01:52
  Author: foxboron
Revision: 675725

upgpkg: go-tools 2:1.15+4895+c1934b75d-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   45 +++--
 1 file changed, 23 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-12 09:58:37 UTC (rev 675724)
+++ PKGBUILD2020-08-12 10:01:52 UTC (rev 675725)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.14+3923+c00d67ef2
+pkgver=1.15+4895+c1934b75d
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,12 +11,9 @@
 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')
+_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 
@@ -24,41 +21,45 @@
 toolstash)
 
 pkgver() {
-  local _gover=1.14
+  local _gover=1.15
   cd go-tools
-  printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
-"$(git rev-parse --short HEAD)"
+  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
+cd go-tools
+mkdir -p bin/
 }
 
 build() {
-  export GOPATH="$srcdir/gopath"
-  cd gopath/src/golang.org/x/tools
+  cd go-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/...
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
+  go build -o bin/ ./cmd/...
+
+  cd gopls
+  go build -o ../bin/ ./...
 }
 
 check() {
-  export GOPATH="$srcdir/gopath"
-  cd gopath/src/golang.org/x/tools
+  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
+  go test ./cmd/...  || true
+
+  # It's just broken.
+  cd gopls
+  go test ./... || true
 }
 
 package() {
+  cd go-tools
   for tool in ${_tools[@]}; do
-install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool"
+install -Dm755 bin/$tool "$pkgdir/usr/bin/$tool"
   done
 
-  install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


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

2020-08-12 Thread Morten Linderud via arch-commits
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/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-08-11 Thread Morten Linderud via arch-commits
Date: Tuesday, August 11, 2020 @ 21:48:34
  Author: foxboron
Revision: 674965

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-11 21:48:21 UTC (rev 674964)
+++ PKGBUILD2020-08-11 21:48:34 UTC (rev 674965)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.14.7
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('064392433563660c73186991c0a315787688e7c38a561e26647686f89b6c30e3'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 674964, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-11 21:48:34 UTC (rev 674965)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.15
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   # 

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-08-11 Thread Morten Linderud via arch-commits
Date: Tuesday, August 11, 2020 @ 21:48:19
  Author: foxboron
Revision: 674963

upgpkg: go 2:1.15-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-11 21:48:13 UTC (rev 674962)
+++ PKGBUILD2020-08-11 21:48:19 UTC (rev 674963)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.14.7
+pkgver=1.15
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('064392433563660c73186991c0a315787688e7c38a561e26647686f89b6c30e3'
+sha256sums=('69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a'
 'SKIP')
 
 build() {


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

2020-08-11 Thread Nicola Squartini via arch-commits
Date: Tuesday, August 11, 2020 @ 14:08:15
  Author: tensor5
Revision: 674530

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-11 14:07:47 UTC (rev 674529)
+++ PKGBUILD2020-08-11 14:08:15 UTC (rev 674530)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.18
-_commit=f5382591874220287de253bfc08b10afd5244927
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 674529, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-11 14:08:15 UTC (rev 674530)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.19
+_commit=3e0641923d78bf1905e596a3a41a54277540bec7
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-08-11 Thread Nicola Squartini via arch-commits
Date: Tuesday, August 11, 2020 @ 14:07:47
  Author: tensor5
Revision: 674529

upgpkg: go-ethereum 1.9.19-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-11 13:44:27 UTC (rev 674528)
+++ PKGBUILD2020-08-11 14:07:47 UTC (rev 674529)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.18
-_commit=f5382591874220287de253bfc08b10afd5244927
+pkgver=1.9.19
+_commit=3e0641923d78bf1905e596a3a41a54277540bec7
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-08-06 Thread Morten Linderud via arch-commits
Date: Thursday, August 6, 2020 @ 21:22:57
  Author: foxboron
Revision: 671262

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-06 21:22:48 UTC (rev 671261)
+++ PKGBUILD2020-08-06 21:22:57 UTC (rev 671262)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.14.6
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('73fc9d781815d411928eccb92bf20d5b4264797be69410eac854babe44c94c09'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 671261, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-06 21:22:57 UTC (rev 671262)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.14.7
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('064392433563660c73186991c0a315787688e7c38a561e26647686f89b6c30e3'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-08-06 Thread Morten Linderud via arch-commits
Date: Thursday, August 6, 2020 @ 21:22:48
  Author: foxboron
Revision: 671261

upgpkg: go 2:1.14.7-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-06 21:13:38 UTC (rev 671260)
+++ PKGBUILD2020-08-06 21:22:48 UTC (rev 671261)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.14.6
+pkgver=1.14.7
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('73fc9d781815d411928eccb92bf20d5b4264797be69410eac854babe44c94c09'
+sha256sums=('064392433563660c73186991c0a315787688e7c38a561e26647686f89b6c30e3'
 'SKIP')
 
 build() {


[arch-commits] Commit in go-bindata-assetfs/repos/community-x86_64 (4 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 08:24:22
  Author: felixonmars
Revision: 666082

archrelease: copy trunk to community-x86_64

Added:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
(from rev 666081, 
go-bindata-assetfs/trunk/38087fe4dafb822e541b3f7955075cc1c30bd294.patch)
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD
(from rev 666081, go-bindata-assetfs/trunk/PKGBUILD)
Deleted:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD

+
 38087fe4dafb822e541b3f7955075cc1c30bd294.patch |  226 +++
 PKGBUILD   |   77 +++
 2 files changed, 150 insertions(+), 153 deletions(-)

Deleted: 38087fe4dafb822e541b3f7955075cc1c30bd294.patch
===
--- 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-07-31 08:24:04 UTC 
(rev 666081)
+++ 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-07-31 08:24:22 UTC 
(rev 666082)
@@ -1,113 +0,0 @@
-From b1a95d801a866b44a1c4ec60c2abaeb77ae54a87 Mon Sep 17 00:00:00 2001
-From: Mark Wallsgrove 
-Date: Sat, 2 Jan 2016 13:33:47 +
-Subject: [PATCH] Parse the output location for bindatafile
-

- go-bindata-assetfs/main.go | 57 ++
- 1 file changed, 40 insertions(+), 17 deletions(-)
-
-diff --git a/go-bindata-assetfs/main.go b/go-bindata-assetfs/main.go
-index 2d65094..0c7f42c 100644
 a/go-bindata-assetfs/main.go
-+++ b/go-bindata-assetfs/main.go
-@@ -5,13 +5,12 @@ import (
-   "bytes"
-   "flag"
-   "fmt"
-+  "io/ioutil"
-   "os"
-   "os/exec"
-   "strings"
- )
- 
--const bindatafile = "bindata.go"
--
- func isDebug(args []string) bool {
-   flagset := flag.NewFlagSet("", flag.ContinueOnError)
-   debug := flagset.Bool("debug", false, "")
-@@ -28,29 +27,53 @@ func isDebug(args []string) bool {
-   return *debug
- }
- 
-+func getBinDataFile() (*os.File, *os.File, []string, error) {
-+  bindataArgs := make([]string, 0)
-+  outputLoc := "bindata.go"
-+
-+  for i := 1; i < len(os.Args); i++ {
-+  if os.Args[i] == "-o" {
-+  outputLoc = os.Args[i+1]
-+  i++
-+  } else {
-+  bindataArgs = append(bindataArgs, os.Args[i])
-+  }
-+  }
-+
-+  tempFile, err := ioutil.TempFile(os.TempDir(), "")
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  outputFile, err := os.Create(outputLoc)
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  bindataArgs = append([]string{"-o", tempFile.Name()}, bindataArgs...)
-+  return outputFile, tempFile, bindataArgs, nil
-+}
-+
- func main() {
--  if _, err := exec.LookPath("go-bindata"); err != nil {
-+  path, err := exec.LookPath("go-bindata")
-+  if err != nil {
-   fmt.Println("Cannot find go-bindata executable in path")
-   fmt.Println("Maybe you need: go get 
github.com/elazarl/go-bindata-assetfs/...")
-   os.Exit(1)
-   }
--  cmd := exec.Command("go-bindata", os.Args[1:]...)
-+  out, in, args, err := getBinDataFile()
-+  if err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: cannot create temporary file", 
err)
-+  os.Exit(1)
-+  }
-+  cmd := exec.Command(path, args...)
-   cmd.Stdin = os.Stdin
-   cmd.Stdout = os.Stdout
-   cmd.Stderr = os.Stderr
-   if err := cmd.Run(); err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: go-bindata: ", err)
-   os.Exit(1)
-   }
--  in, err := os.Open(bindatafile)
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot read", bindatafile, err)
--  return
--  }
--  out, err := os.Create("bindata_assetfs.go")
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write 'bindata_assetfs.go'", 
err)
--  return
--  }
-   debug := isDebug(os.Args[1:])
-   r := bufio.NewReader(in)
-   done := false
-@@ -59,7 +82,7 @@ func main() {
-   line = append(line, '\n')
-   }
-   if _, err := out.Write(line); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write to 
'bindata_assetfs.go'", err)
-+  fmt.Fprintln(os.Stderr, "Cannot write to ", out.Name(), 
err)
-   return
-   }
-   if !done && !isPrefix && bytes.HasPrefix(line, []byte("import 
(")) {
-@@ -91,7 +114,7 @@ func assetFS() *assetfs.AssetFS {
-   // Close files BEFORE remove calls (don't use defer).
-   in.Close()
-   out.Close()
--  if err := os.Remove(bindatafile); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot remove", 

[arch-commits] Commit in go-bindata-assetfs/trunk (PKGBUILD)

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 08:24:04
  Author: felixonmars
Revision: 666081

upgpkg: go-bindata-assetfs 1.0.1-1

Modified:
  go-bindata-assetfs/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-31 08:23:58 UTC (rev 666080)
+++ PKGBUILD2020-07-31 08:24:04 UTC (rev 666081)
@@ -1,8 +1,8 @@
 # Maintainer: Christian Rebischke 
 
 pkgname=go-bindata-assetfs
-pkgver=1.0.0
-pkgrel=5
+pkgver=1.0.1
+pkgrel=1
 pkgdesc="Serves embedded files from jteeuwen/go-bindata with net/http"
 arch=('x86_64')
 url="https://github.com/elazarl/go-bindata-assetfs;
@@ -11,14 +11,11 @@
 makedepends=('go')
 source=(
   
"${pkgname}-${pkgver}.tar.gz::https://github.com/elazarl/go-bindata-assetfs/archive/v${pkgver}.tar.gz;
-  
'https://github.com/elazarl/go-bindata-assetfs/commit/38087fe4dafb822e541b3f7955075cc1c30bd294.patch'
 )
-sha512sums=('009111511b10b14e83b166eaf37c36e6fc96097770cd6b1865d034f4e90cc3232930b6f5591ee1a960af46d76a7456a96dcc2ccc112234cb0d382a9f9cc575c2'
-
'9364a53fe6ce05a81429ec96f8fc542484fa8a860c8c011daed61d06db608fd0bc22a3837321119ff2429dc1e1b008be90977fa4bab74a4a90c9b126dc899cea')
+sha512sums=('fde5cd06393c82a8a1f9da5cc3054c1cc389328b5a232c5595a32755b2d613a83dc070152ad31ccbbbfbcf2419ad44bef89f88ceef4c6b7e5df8715309cf')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  patch -p1 -i ../38087fe4dafb822e541b3f7955075cc1c30bd294.patch 
#https://github.com/elazarl/go-bindata-assetfs/issues/33
   mkdir -p "${srcdir}/src/github.com/elazarl/"
   mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/elazarl/go-bindata-assetfs"
 }


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

2020-07-27 Thread Nicola Squartini via arch-commits
Date: Monday, July 27, 2020 @ 14:11:08
  Author: tensor5
Revision: 665476

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-27 14:10:40 UTC (rev 665475)
+++ PKGBUILD2020-07-27 14:11:08 UTC (rev 665476)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.17
-_commit=748f22c192d24082723f935afd0b0b63e7fd50f4
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 665475, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-27 14:11:08 UTC (rev 665476)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.18
+_commit=f5382591874220287de253bfc08b10afd5244927
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-07-27 Thread Nicola Squartini via arch-commits
Date: Monday, July 27, 2020 @ 14:10:40
  Author: tensor5
Revision: 665475

upgpkg: go-ethereum 1.9.18-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-27 14:09:50 UTC (rev 665474)
+++ PKGBUILD2020-07-27 14:10:40 UTC (rev 665475)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.17
-_commit=748f22c192d24082723f935afd0b0b63e7fd50f4
+pkgver=1.9.18
+_commit=f5382591874220287de253bfc08b10afd5244927
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-07-20 Thread Nicola Squartini via arch-commits
Date: Tuesday, July 21, 2020 @ 01:21:42
  Author: tensor5
Revision: 664666

upgpkg: go-ethereum 1.9.17-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-20 23:37:22 UTC (rev 664665)
+++ PKGBUILD2020-07-21 01:21:42 UTC (rev 664666)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.16
-_commit=ea3b00ad75aebaf1790fe0f8afc9fb7852c87716
+pkgver=1.9.17
+_commit=748f22c192d24082723f935afd0b0b63e7fd50f4
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-07-20 Thread Nicola Squartini via arch-commits
Date: Tuesday, July 21, 2020 @ 01:22:17
  Author: tensor5
Revision: 664667

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-21 01:21:42 UTC (rev 664666)
+++ PKGBUILD2020-07-21 01:22:17 UTC (rev 664667)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.16
-_commit=ea3b00ad75aebaf1790fe0f8afc9fb7852c87716
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 664666, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-21 01:22:17 UTC (rev 664667)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.17
+_commit=748f22c192d24082723f935afd0b0b63e7fd50f4
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


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

2020-07-20 Thread Morten Linderud via arch-commits
Date: Monday, July 20, 2020 @ 21:48:25
  Author: foxboron
Revision: 664659

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  166 ++---
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-20 21:48:17 UTC (rev 664658)
+++ PKGBUILD2020-07-20 21:48:25 UTC (rev 664659)
@@ -1,83 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.14.5
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('ca4c080c90735e56152ac52cd77ae57fe573d1debb1a58e03da9cc362440315c'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
-   # Should only affect containers
-   # so lets just say No.
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 664658, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-20 21:48:25 UTC (rev 664659)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.14.6
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('73fc9d781815d411928eccb92bf20d5b4264797be69410eac854babe44c94c09'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   # 

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-07-20 Thread Morten Linderud via arch-commits
Date: Monday, July 20, 2020 @ 21:48:17
  Author: foxboron
Revision: 664658

upgpkg: go 2:1.14.6-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-20 21:17:41 UTC (rev 664657)
+++ PKGBUILD2020-07-20 21:48:17 UTC (rev 664658)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.14.5
+pkgver=1.14.6
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('ca4c080c90735e56152ac52cd77ae57fe573d1debb1a58e03da9cc362440315c'
+sha256sums=('73fc9d781815d411928eccb92bf20d5b4264797be69410eac854babe44c94c09'
 'SKIP')
 
 build() {


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-07-14 Thread Morten Linderud via arch-commits
Date: Tuesday, July 14, 2020 @ 20:00:07
  Author: foxboron
Revision: 663785

upgpkg: go 2:1.14.5-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-14 19:40:40 UTC (rev 663784)
+++ PKGBUILD2020-07-14 20:00:07 UTC (rev 663785)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.14.4
+pkgver=1.14.5
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('7011af3bbc2ac108d1b82ea8abb87b2e63f78844f0259be20cde4d42c5c40584'
+sha256sums=('ca4c080c90735e56152ac52cd77ae57fe573d1debb1a58e03da9cc362440315c'
 'SKIP')
 
 build() {
@@ -53,6 +53,9 @@
   export GO_TEST_TIMEOUT_SCALE=2
 
   cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   # Should only affect containers
+   # so lets just say No.
   ./run.bash --no-rebuild -v -v -v -k
 }
 


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

2020-07-14 Thread Morten Linderud via arch-commits
Date: Tuesday, July 14, 2020 @ 20:00:14
  Author: foxboron
Revision: 663786

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  163 +++--
 1 file changed, 83 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-14 20:00:07 UTC (rev 663785)
+++ PKGBUILD2020-07-14 20:00:14 UTC (rev 663786)
@@ -1,80 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.14.4
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('7011af3bbc2ac108d1b82ea8abb87b2e63f78844f0259be20cde4d42c5c40584'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 663785, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-14 20:00:14 UTC (rev 663786)
@@ -0,0 +1,83 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.14.5
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('ca4c080c90735e56152ac52cd77ae57fe573d1debb1a58e03da9cc362440315c'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  rm os/signal/signal_cgo_test.go  # TODO: There is a bug somewhere.
+   # Should only affect containers
+   # so lets just say No.
+  ./run.bash --no-rebuild -v -v -v -k
+}
+
+package() {
+  cd "$pkgname"
+
+  install -d "$pkgdir/usr/bin" 

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

2020-07-12 Thread Nicola Squartini via arch-commits
Date: Monday, July 13, 2020 @ 00:35:19
  Author: tensor5
Revision: 663385

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-13 00:34:51 UTC (rev 663384)
+++ PKGBUILD2020-07-13 00:35:19 UTC (rev 663385)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.15
-_commit=0f77f34bb67b640bd8af22b215f3d279a1e21170
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 663384, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-13 00:35:19 UTC (rev 663385)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.16
+_commit=ea3b00ad75aebaf1790fe0f8afc9fb7852c87716
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-07-12 Thread Nicola Squartini via arch-commits
Date: Monday, July 13, 2020 @ 00:34:51
  Author: tensor5
Revision: 663384

upgpkg: go-ethereum 1.9.16-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-12 23:39:04 UTC (rev 663383)
+++ PKGBUILD2020-07-13 00:34:51 UTC (rev 663384)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.15
-_commit=0f77f34bb67b640bd8af22b215f3d279a1e21170
+pkgver=1.9.16
+_commit=ea3b00ad75aebaf1790fe0f8afc9fb7852c87716
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-07-06 Thread Johannes Löthberg via arch-commits
Date: Monday, July 6, 2020 @ 15:12:28
  Author: demize
Revision: 658029

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 658028, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 658028, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 658028, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 658028, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-07-06 15:12:28 UTC (rev 658029)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.6.0
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('36ac0fdea8942ef121614dd6dc53b0b5afe9963ac44b7d7c4c42753eebea7b8f14f483d9561ddd9207551cf91366aef8a27114f961d71d807ac088613a628b3c'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
+  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 658028, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-07-06 15:12:28 UTC (rev 
658029)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 658028, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-07-06 15:12:28 UTC (rev 
658029)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/trunk (PKGBUILD)

2020-07-06 Thread Johannes Löthberg via arch-commits
Date: Monday, July 6, 2020 @ 15:07:38
  Author: demize
Revision: 658024

upgpkg: go-ipfs 0.6.0-1

Modified:
  go-ipfs/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-06 15:06:47 UTC (rev 658023)
+++ PKGBUILD2020-07-06 15:07:38 UTC (rev 658024)
@@ -5,7 +5,7 @@
 # Contributor: Ian Naval 
 
 pkgname=go-ipfs
-pkgver=0.5.1
+pkgver=0.6.0
 pkgrel=1
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
@@ -22,7 +22,7 @@
 ipfs@.service)
 noextract=(go-ipfs-$pkgver.tar.gz)
 
-sha512sums=('70bce53e435137a7fa959e7cb6fc8333f60d29c7053fcc685ebe01e2c816295ad38898402d317d2c4fd7f48542e0c3886ccb5ddf0797415a1cfe03ffa1731245'
+sha512sums=('36ac0fdea8942ef121614dd6dc53b0b5afe9963ac44b7d7c4c42753eebea7b8f14f483d9561ddd9207551cf91366aef8a27114f961d71d807ac088613a628b3c'
 
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
 
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
 


[arch-commits] Commit in go-bindata-assetfs/trunk (PKGBUILD)

2020-07-05 Thread Morten Linderud via arch-commits
Date: Sunday, July 5, 2020 @ 15:24:15
  Author: foxboron
Revision: 657865

upgpkg: go-bindata-assetfs 1.0.0-5

Updated to current go package guidelines

Modified:
  go-bindata-assetfs/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-05 15:22:52 UTC (rev 657864)
+++ PKGBUILD2020-07-05 15:24:15 UTC (rev 657865)
@@ -2,13 +2,13 @@
 
 pkgname=go-bindata-assetfs
 pkgver=1.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Serves embedded files from jteeuwen/go-bindata with net/http"
 arch=('x86_64')
 url="https://github.com/elazarl/go-bindata-assetfs;
 license=('BSD')
 depends=('glibc')
-makedepends=('go-pie')
+makedepends=('go')
 source=(
   
"${pkgname}-${pkgver}.tar.gz::https://github.com/elazarl/go-bindata-assetfs/archive/v${pkgver}.tar.gz;
   
'https://github.com/elazarl/go-bindata-assetfs/commit/38087fe4dafb822e541b3f7955075cc1c30bd294.patch'
@@ -25,7 +25,12 @@
 
 build() {
   cd "${srcdir}/src/github.com/elazarl/go-bindata-assetfs/"
-  GOPATH="${srcdir}" go build -trimpath -ldflags "-extldflags ${LDFLAGS}" -o 
go-bindata-assetfs ./go-bindata-assetfs/
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  GOPATH="${srcdir}" go build -o go-bindata-assetfs ./go-bindata-assetfs/
 }
 
 package() {


[arch-commits] Commit in go-bindata-assetfs/repos/community-x86_64 (4 files)

2020-07-05 Thread Morten Linderud via arch-commits
Date: Sunday, July 5, 2020 @ 15:24:24
  Author: foxboron
Revision: 657866

archrelease: copy trunk to community-x86_64

Added:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
(from rev 657865, 
go-bindata-assetfs/trunk/38087fe4dafb822e541b3f7955075cc1c30bd294.patch)
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD
(from rev 657865, go-bindata-assetfs/trunk/PKGBUILD)
Deleted:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD

+
 38087fe4dafb822e541b3f7955075cc1c30bd294.patch |  226 +++
 PKGBUILD   |   75 ---
 2 files changed, 153 insertions(+), 148 deletions(-)

Deleted: 38087fe4dafb822e541b3f7955075cc1c30bd294.patch
===
--- 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-07-05 15:24:15 UTC 
(rev 657865)
+++ 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-07-05 15:24:24 UTC 
(rev 657866)
@@ -1,113 +0,0 @@
-From b1a95d801a866b44a1c4ec60c2abaeb77ae54a87 Mon Sep 17 00:00:00 2001
-From: Mark Wallsgrove 
-Date: Sat, 2 Jan 2016 13:33:47 +
-Subject: [PATCH] Parse the output location for bindatafile
-

- go-bindata-assetfs/main.go | 57 ++
- 1 file changed, 40 insertions(+), 17 deletions(-)
-
-diff --git a/go-bindata-assetfs/main.go b/go-bindata-assetfs/main.go
-index 2d65094..0c7f42c 100644
 a/go-bindata-assetfs/main.go
-+++ b/go-bindata-assetfs/main.go
-@@ -5,13 +5,12 @@ import (
-   "bytes"
-   "flag"
-   "fmt"
-+  "io/ioutil"
-   "os"
-   "os/exec"
-   "strings"
- )
- 
--const bindatafile = "bindata.go"
--
- func isDebug(args []string) bool {
-   flagset := flag.NewFlagSet("", flag.ContinueOnError)
-   debug := flagset.Bool("debug", false, "")
-@@ -28,29 +27,53 @@ func isDebug(args []string) bool {
-   return *debug
- }
- 
-+func getBinDataFile() (*os.File, *os.File, []string, error) {
-+  bindataArgs := make([]string, 0)
-+  outputLoc := "bindata.go"
-+
-+  for i := 1; i < len(os.Args); i++ {
-+  if os.Args[i] == "-o" {
-+  outputLoc = os.Args[i+1]
-+  i++
-+  } else {
-+  bindataArgs = append(bindataArgs, os.Args[i])
-+  }
-+  }
-+
-+  tempFile, err := ioutil.TempFile(os.TempDir(), "")
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  outputFile, err := os.Create(outputLoc)
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  bindataArgs = append([]string{"-o", tempFile.Name()}, bindataArgs...)
-+  return outputFile, tempFile, bindataArgs, nil
-+}
-+
- func main() {
--  if _, err := exec.LookPath("go-bindata"); err != nil {
-+  path, err := exec.LookPath("go-bindata")
-+  if err != nil {
-   fmt.Println("Cannot find go-bindata executable in path")
-   fmt.Println("Maybe you need: go get 
github.com/elazarl/go-bindata-assetfs/...")
-   os.Exit(1)
-   }
--  cmd := exec.Command("go-bindata", os.Args[1:]...)
-+  out, in, args, err := getBinDataFile()
-+  if err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: cannot create temporary file", 
err)
-+  os.Exit(1)
-+  }
-+  cmd := exec.Command(path, args...)
-   cmd.Stdin = os.Stdin
-   cmd.Stdout = os.Stdout
-   cmd.Stderr = os.Stderr
-   if err := cmd.Run(); err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: go-bindata: ", err)
-   os.Exit(1)
-   }
--  in, err := os.Open(bindatafile)
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot read", bindatafile, err)
--  return
--  }
--  out, err := os.Create("bindata_assetfs.go")
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write 'bindata_assetfs.go'", 
err)
--  return
--  }
-   debug := isDebug(os.Args[1:])
-   r := bufio.NewReader(in)
-   done := false
-@@ -59,7 +82,7 @@ func main() {
-   line = append(line, '\n')
-   }
-   if _, err := out.Write(line); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write to 
'bindata_assetfs.go'", err)
-+  fmt.Fprintln(os.Stderr, "Cannot write to ", out.Name(), 
err)
-   return
-   }
-   if !done && !isPrefix && bytes.HasPrefix(line, []byte("import 
(")) {
-@@ -91,7 +114,7 @@ func assetFS() *assetfs.AssetFS {
-   // Close files BEFORE remove calls (don't use defer).
-   in.Close()
-   out.Close()
--  if err := os.Remove(bindatafile); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot remove", 

[arch-commits] Commit in go-bindata-hashicorp/repos/community-x86_64 (2 files)

2020-07-05 Thread Morten Linderud via arch-commits
Date: Sunday, July 5, 2020 @ 15:22:52
  Author: foxboron
Revision: 657864

archrelease: copy trunk to community-x86_64

Added:
  go-bindata-hashicorp/repos/community-x86_64/PKGBUILD
(from rev 657863, go-bindata-hashicorp/trunk/PKGBUILD)
Deleted:
  go-bindata-hashicorp/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   75 -
 1 file changed, 40 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-05 15:22:41 UTC (rev 657863)
+++ PKGBUILD2020-07-05 15:22:52 UTC (rev 657864)
@@ -1,35 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata-hashicorp
-_pkgname=go-bindata
-_commit=bf7910af899725e4938903fb32048c7c0b15f12e
-pkgver=3.0.7+bf7910af
-pkgrel=2
-pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
-arch=('x86_64')
-url='https://github.com/hashicorp/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit};)
-sha512sums=('SKIP')
-provides=('go-bindata')
-conflicts=('go-bindata')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/hashicorp/"
-mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-}

Copied: go-bindata-hashicorp/repos/community-x86_64/PKGBUILD (from rev 657863, 
go-bindata-hashicorp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-05 15:22:52 UTC (rev 657864)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata-hashicorp
+_pkgname=go-bindata
+_commit=bf7910af899725e4938903fb32048c7c0b15f12e
+pkgver=3.0.7+bf7910af
+pkgrel=3
+pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
+arch=('x86_64')
+url='https://github.com/hashicorp/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go' 'git')
+source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit};)
+sha512sums=('SKIP')
+provides=('go-bindata')
+conflicts=('go-bindata')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/hashicorp/"
+mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}


[arch-commits] Commit in go-bindata-hashicorp/trunk (PKGBUILD)

2020-07-05 Thread Morten Linderud via arch-commits
Date: Sunday, July 5, 2020 @ 15:22:41
  Author: foxboron
Revision: 657863

upgpkg: go-bindata-hashicorp 3.0.7+bf7910af-3

Updated to current go package guidelines

Modified:
  go-bindata-hashicorp/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-05 15:21:07 UTC (rev 657862)
+++ PKGBUILD2020-07-05 15:22:41 UTC (rev 657863)
@@ -6,13 +6,13 @@
 _pkgname=go-bindata
 _commit=bf7910af899725e4938903fb32048c7c0b15f12e
 pkgver=3.0.7+bf7910af
-pkgrel=2
+pkgrel=3
 pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
 arch=('x86_64')
 url='https://github.com/hashicorp/go-bindata'
 license=('CC0 1.0')
 depends=('glibc')
-makedepends=('go-pie' 'git')
+makedepends=('go' 'git')
 source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit};)
 sha512sums=('SKIP')
 provides=('go-bindata')
@@ -25,6 +25,11 @@
 
 build() {
 cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 GOPATH="${srcdir}" go build
 }
 


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

2020-06-09 Thread Morten Linderud via arch-commits
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/trunk (PKGBUILD)

2020-06-09 Thread Morten Linderud via arch-commits
Date: Tuesday, June 9, 2020 @ 21:33:17
  Author: foxboron
Revision: 641012

upgpkg: go-tools 2:1.14+3923+c00d67ef2-1

Go package guidelines

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-09 21:33:15 UTC (rev 641011)
+++ PKGBUILD2020-06-09 21:33:17 UTC (rev 641012)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.14+3922+575de4798
+pkgver=1.14+3923+c00d67ef2
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -10,8 +10,8 @@
 url='https://golang.org/'
 license=(BSD)
 depends=(glibc)
-makedepends=(git go-pie)
-_commit=575de47986ce07f39826bf8d5e365d5ebf51ee63
+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)
@@ -39,7 +39,12 @@
 build() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/...
+  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() {


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-06-08 Thread Nicola Squartini via arch-commits
Date: Monday, June 8, 2020 @ 13:29:13
  Author: tensor5
Revision: 640587

upgpkg: go-ethereum 1.9.15-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-08 13:24:38 UTC (rev 640586)
+++ PKGBUILD2020-06-08 13:29:13 UTC (rev 640587)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.14
-_commit=6d74d1e5f762e06a6a739a42261886510f842778
+pkgver=1.9.15
+_commit=0f77f34bb67b640bd8af22b215f3d279a1e21170
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-06-08 Thread Nicola Squartini via arch-commits
Date: Monday, June 8, 2020 @ 13:29:41
  Author: tensor5
Revision: 640588

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-08 13:29:13 UTC (rev 640587)
+++ PKGBUILD2020-06-08 13:29:41 UTC (rev 640588)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.14
-_commit=6d74d1e5f762e06a6a739a42261886510f842778
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 640587, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-08 13:29:41 UTC (rev 640588)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.15
+_commit=0f77f34bb67b640bd8af22b215f3d279a1e21170
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-bindata/trunk (PKGBUILD)

2020-06-02 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, June 2, 2020 @ 23:31:01
  Author: svenstaro
Revision: 638128

upgpkg: go-bindata 3.5.2-2: Move from go-pie to go in accordance with go 
guidelines

Modified:
  go-bindata/trunk/PKGBUILD

--+
 PKGBUILD |   33 ++---
 1 file changed, 18 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-02 23:14:22 UTC (rev 638127)
+++ PKGBUILD2020-06-02 23:31:01 UTC (rev 638128)
@@ -1,30 +1,33 @@
-# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Sven-Hendrik Haase 
 # Contributor: Lubomir 'Kuci' Kucera 
 
 pkgname=go-bindata
 pkgver=3.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A small utility which generates Go code from any file"
 arch=('x86_64')
 url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
+license=('custom:CC0')
 depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
 
sha512sums=('2e9a807445ed6ddfd681f6886503c116c8ceba6572f5a8b2cdbf78c585a476b5dfb0dc967b62f1510caef8e1e09db39043362e252da773272a79a7b257c9d275')
 
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
+build() {
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
+  cd $pkgname-$pkgver
+
+  go build ./cmd/...
 }
 
 package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd $pkgname-$pkgver
+
+  install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }


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

2020-06-02 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, June 2, 2020 @ 23:31:08
  Author: svenstaro
Revision: 638129

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   63 +++--
 1 file changed, 33 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-02 23:31:01 UTC (rev 638128)
+++ PKGBUILD2020-06-02 23:31:08 UTC (rev 638129)
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata
-pkgver=3.5.2
-pkgrel=1
-pkgdesc="A small utility which generates Go code from any file"
-arch=('x86_64')
-url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('2e9a807445ed6ddfd681f6886503c116c8ceba6572f5a8b2cdbf78c585a476b5dfb0dc967b62f1510caef8e1e09db39043362e252da773272a79a7b257c9d275')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: go-bindata/repos/community-x86_64/PKGBUILD (from rev 638128, 
go-bindata/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-02 23:31:08 UTC (rev 638129)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata
+pkgver=3.5.2
+pkgrel=2
+pkgdesc="A small utility which generates Go code from any file"
+arch=('x86_64')
+url='https://github.com/shuLhan/go-bindata'
+license=('custom:CC0')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+sha512sums=('2e9a807445ed6ddfd681f6886503c116c8ceba6572f5a8b2cdbf78c585a476b5dfb0dc967b62f1510caef8e1e09db39043362e252da773272a79a7b257c9d275')
+
+build() {
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  cd $pkgname-$pkgver
+
+  go build ./cmd/...
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2020-06-02 Thread Morten Linderud via arch-commits
Date: Tuesday, June 2, 2020 @ 20:56:45
  Author: foxboron
Revision: 638116

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  160 ++---
 1 file changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-02 20:56:35 UTC (rev 638115)
+++ PKGBUILD2020-06-02 20:56:45 UTC (rev 638116)
@@ -1,80 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgname=go
-epoch=2
-pkgver=1.14.3
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-replaces=(go-pie)
-provides=(go-pie)
-options=(!strip staticlibs)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
-validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('93023778d4d1797b7bc6a53e86c3a9b150c923953225f8a48a2d5fabc971af56'
-'SKIP')
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-
-  cd "$pkgname/src"
-  ./make.bash --no-clean -v
-
-  PATH="$GOBIN:$PATH" go install -v -race std
-  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgname/src
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-package() {
-  cd "$pkgname"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 638115, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-02 20:56:45 UTC (rev 638116)
@@ -0,0 +1,80 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.14.4
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('7011af3bbc2ac108d1b82ea8abb87b2e63f78844f0259be20cde4d42c5c40584'
+'SKIP')
+
+build() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
+
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
+}
+
+check() {
+  export GOARCH=amd64
+  export GOROOT_FINAL=/usr/lib/go
+  export GOROOT_BOOTSTRAP=/usr/lib/go
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  cd $pkgname/src
+  ./run.bash --no-rebuild -v -v -v -k
+}
+
+package() {
+  cd "$pkgname"
+
+  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
+  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
+  cp -r doc/* "$pkgdir/usr/share/doc/go"
+
+  ln -sf /usr/lib/go/bin/go 

[arch-commits] Commit in go/trunk (PKGBUILD)

2020-06-02 Thread Morten Linderud via arch-commits
Date: Tuesday, June 2, 2020 @ 20:56:35
  Author: foxboron
Revision: 638115

upgpkg: go 2:1.14.4-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-02 20:43:09 UTC (rev 638114)
+++ PKGBUILD2020-06-02 20:56:35 UTC (rev 638115)
@@ -13,7 +13,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.14.3
+pkgver=1.14.4
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
@@ -25,7 +25,7 @@
 options=(!strip staticlibs)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
 validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
-sha256sums=('93023778d4d1797b7bc6a53e86c3a9b150c923953225f8a48a2d5fabc971af56'
+sha256sums=('7011af3bbc2ac108d1b82ea8abb87b2e63f78844f0259be20cde4d42c5c40584'
 'SKIP')
 
 build() {


[arch-commits] Commit in go-ipfs/repos (7 files)

2020-05-19 Thread Johannes Löthberg via arch-commits
Date: Tuesday, May 19, 2020 @ 18:02:02
  Author: demize
Revision: 629990

db-move: moved go-ipfs from [community-testing] to [community] (x86_64)

Added:
  go-ipfs/repos/community-x86_64/PKGBUILD
(from rev 629989, go-ipfs/repos/community-testing-x86_64/PKGBUILD)
  go-ipfs/repos/community-x86_64/ipfs.service
(from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs.service)
  go-ipfs/repos/community-x86_64/ipfs@.service
(from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs@.service)
Deleted:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-x86_64/PKGBUILD
  go-ipfs/repos/community-x86_64/ipfs.service
  go-ipfs/repos/community-x86_64/ipfs@.service

+
 /PKGBUILD  |   54 +++
 /ipfs.service  |9 ++
 /ipfs@.service |   10 +++
 community-x86_64/PKGBUILD  |   48 --
 community-x86_64/ipfs.service  |9 --
 community-x86_64/ipfs@.service |   10 ---
 6 files changed, 73 insertions(+), 67 deletions(-)

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2020-05-19 18:02:01 UTC (rev 629989)
+++ community-x86_64/PKGBUILD   2020-05-19 18:02:02 UTC (rev 629990)
@@ -1,48 +0,0 @@
-# Maintainer: Johannes Löthberg 
-# Contributor: Anatol Pomozov
-# Contributor: kpcyrd 
-# Contributor: Frederik “Freso” S. Olesen 
-# Contributor: Ian Naval 
-
-pkgname=go-ipfs
-pkgver=0.4.23
-pkgrel=3
-
-pkgdesc='A peer-to-peer hypermedia distribution protocol'
-url='https://ipfs.io/'
-arch=(x86_64)
-license=(MIT)
-
-depends=(glibc)
-optdepends=('fuse2: for mounting/advanced use')
-makedepends=(go-pie git)
-
-source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
-ipfs.service
-ipfs@.service)
-noextract=(go-ipfs-$pkgver.tar.gz)
-
-sha512sums=('d87513392336fc537bf9c8578d34d650482001c37c1636d64f68fe5d5291c21990c72286c26f43cb6bc2c9c9df14bae69996b60ad6744f335276d52b0cb6978e'
-
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
-
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
-
-prepare() {
-  mkdir -p go-ipfs
-  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
-}
-
-build() {
-  cd go-ipfs
-  make build
-}
-
-package() {
-  cd go-ipfs
-  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
-  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
-  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
-  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
-  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-}

Copied: go-ipfs/repos/community-x86_64/PKGBUILD (from rev 629989, 
go-ipfs/repos/community-testing-x86_64/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-05-19 18:02:02 UTC (rev 629990)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.5.1
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('70bce53e435137a7fa959e7cb6fc8333f60d29c7053fcc685ebe01e2c816295ad38898402d317d2c4fd7f48542e0c3886ccb5ddf0797415a1cfe03ffa1731245'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 

[arch-commits] Commit in go/repos/community-x86_64 (3 files)

2020-05-18 Thread Morten Linderud via arch-commits
Date: Monday, May 18, 2020 @ 17:43:17
  Author: foxboron
Revision: 629585

archrelease: copy trunk to community-x86_64

Added:
  go/repos/community-x86_64/PKGBUILD
(from rev 629584, go/trunk/PKGBUILD)
Deleted:
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/default-buildmode-pie.patch

-+
 PKGBUILD|  191 +-
 default-buildmode-pie.patch |   13 --
 2 files changed, 80 insertions(+), 124 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-18 17:43:07 UTC (rev 629584)
+++ PKGBUILD2020-05-18 17:43:17 UTC (rev 629585)
@@ -1,111 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.14.2
-pkgrel=1
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go perl)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
-default-buildmode-pie.patch)
-sha256sums=('98de84e69726a66da7b4e58eac41b99cbe274d7e8906eeb8a5b7eb0aadee7f7c'
-'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
-
-prepare() {
-  cp -r $pkgbase $pkgbase-pie
-  cd $pkgbase-pie
-  patch -p1 -i "$srcdir/default-buildmode-pie.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-export GOBIN="$GOROOT/bin"
-
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean -v
-
-PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-PATH="$GOBIN:$PATH" go install -v -race std
-  done
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  # Run test suite only for unpatched Go as it expects non-PIE ldBuildmode
-  export GOROOT="$srcdir/$pkgbase"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgbase/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgbase/src
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-_package() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  options=(!strip staticlibs)
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$1/LICENSE"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-
-  _package $pkgname
-}
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=("go=$epoch:$pkgver-$pkgrel")
-  conflicts=(go)
-
-  _package $pkgname
-
-  # linux_amd64 is essentially the content of linux_amd64_shared, however 
there might
-  # be cases where the user could generate the _shared directory as it's 
missing in go-pie.
-  # Make sure it exists without rebuilding std with -buildmode=pie.
-  cp -a "$pkgdir/usr/lib/go/pkg/linux_amd64/" 
"$pkgdir/usr/lib/go/pkg/linux_amd64_shared"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 629584, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-18 17:43:17 UTC (rev 629585)
@@ -0,0 +1,80 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgname=go
+epoch=2
+pkgver=1.14.3
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})

[arch-commits] Commit in go/trunk (default-buildmode-pie.patch)

2020-05-18 Thread Morten Linderud via arch-commits
Date: Monday, May 18, 2020 @ 17:42:31
  Author: foxboron
Revision: 629583

Remove buildmode patch

Deleted:
  go/trunk/default-buildmode-pie.patch

-+
 default-buildmode-pie.patch |   13 -
 1 file changed, 13 deletions(-)

Deleted: default-buildmode-pie.patch
===
--- default-buildmode-pie.patch 2020-05-18 17:42:12 UTC (rev 629582)
+++ default-buildmode-pie.patch 2020-05-18 17:42:31 UTC (rev 629583)
@@ -1,13 +0,0 @@
-diff --git a/src/cmd/go/internal/work/init.go 
b/src/cmd/go/internal/work/init.go
-index 7f894f5..a517887 100644
 a/src/cmd/go/internal/work/init.go
-+++ b/src/cmd/go/internal/work/init.go
-@@ -131,7 +131,7 @@ func buildModeInit() {
-   ldBuildmode = "c-shared"
-   case "default":
-   switch cfg.Goos {
--  case "android":
-+  case "android", "linux":
-   codegenArg = "-shared"
-   ldBuildmode = "pie"
-   case "darwin":


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-05-18 Thread Morten Linderud via arch-commits
Date: Monday, May 18, 2020 @ 17:40:51
  Author: foxboron
Revision: 629580

upgpkg: go 2:1.14.3-1 - FS#60928 Remove go-pie

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |   75 +
 1 file changed, 22 insertions(+), 53 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-18 17:40:46 UTC (rev 629579)
+++ PKGBUILD2020-05-18 17:40:51 UTC (rev 629580)
@@ -11,42 +11,36 @@
 # Contributor: Daniel YC Lin 
 # Contributor: John Luebs 
 
-pkgbase=go
-pkgname=(go go-pie)
+pkgname=go
 epoch=2
-pkgver=1.14.2
+pkgver=1.14.3
 pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
 license=(BSD)
 makedepends=(git go perl)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
-default-buildmode-pie.patch)
-sha256sums=('98de84e69726a66da7b4e58eac41b99cbe274d7e8906eeb8a5b7eb0aadee7f7c'
-'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
+replaces=(go-pie)
+provides=(go-pie)
+options=(!strip staticlibs)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
+validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
+sha256sums=('93023778d4d1797b7bc6a53e86c3a9b150c923953225f8a48a2d5fabc971af56'
+'SKIP')
 
-prepare() {
-  cp -r $pkgbase $pkgbase-pie
-  cd $pkgbase-pie
-  patch -p1 -i "$srcdir/default-buildmode-pie.patch"
-}
-
 build() {
   export GOARCH=amd64
   export GOROOT_FINAL=/usr/lib/go
   export GOROOT_BOOTSTRAP=/usr/lib/go
   export GOPATH="$srcdir/"
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
 
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-export GOBIN="$GOROOT/bin"
+  cd "$pkgname/src"
+  ./make.bash --no-clean -v
 
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean -v
-
-PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-PATH="$GOBIN:$PATH" go install -v -race std
-  done
+  PATH="$GOBIN:$PATH" go install -v -race std
+  PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
 }
 
 check() {
@@ -53,24 +47,18 @@
   export GOARCH=amd64
   export GOROOT_FINAL=/usr/lib/go
   export GOROOT_BOOTSTRAP=/usr/lib/go
-  # Run test suite only for unpatched Go as it expects non-PIE ldBuildmode
-  export GOROOT="$srcdir/$pkgbase"
+  export GOROOT="$srcdir/$pkgname"
   export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgbase/bin:$PATH"
+  export PATH="$srcdir/$pkgname/bin:$PATH"
   export GO_TEST_TIMEOUT_SCALE=2
 
-  cd $pkgbase/src
+  cd $pkgname/src
   ./run.bash --no-rebuild -v -v -v -k
 }
 
-_package() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
+package() {
+  cd "$pkgname"
 
-  options=(!strip staticlibs)
-  cd "$srcdir/$1"
-
   install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
   cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
   cp -r doc/* "$pkgdir/usr/share/doc/go"
@@ -86,26 +74,7 @@
   # TODO: Figure out if really needed
   rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
 
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$1/LICENSE"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-
-  _package $pkgname
-}
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=("go=$epoch:$pkgver-$pkgrel")
-  conflicts=(go)
-
-  _package $pkgname
-
-  # linux_amd64 is essentially the content of linux_amd64_shared, however 
there might
-  # be cases where the user could generate the _shared directory as it's 
missing in go-pie.
-  # Make sure it exists without rebuilding std with -buildmode=pie.
-  cp -a "$pkgdir/usr/lib/go/pkg/linux_amd64/" 
"$pkgdir/usr/lib/go/pkg/linux_amd64_shared"
-}
-
 # vim: ts=2 sw=2 et


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

2020-05-13 Thread Nicola Squartini via arch-commits
Date: Wednesday, May 13, 2020 @ 12:26:25
  Author: tensor5
Revision: 627639

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-13 12:26:24 UTC (rev 627638)
+++ PKGBUILD2020-05-13 12:26:25 UTC (rev 627639)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.13
-_commit=cbc4ac264e9671898bff6ec7e434da3eca4bd273
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 627637, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-13 12:26:25 UTC (rev 627639)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.14
+_commit=6d74d1e5f762e06a6a739a42261886510f842778
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-05-13 Thread Nicola Squartini via arch-commits
Date: Wednesday, May 13, 2020 @ 12:22:51
  Author: tensor5
Revision: 627632

upgpkg: go-ethereum 1.9.14-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-13 12:11:59 UTC (rev 627631)
+++ PKGBUILD2020-05-13 12:22:51 UTC (rev 627632)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.13
-_commit=cbc4ac264e9671898bff6ec7e434da3eca4bd273
+pkgver=1.9.14
+_commit=6d74d1e5f762e06a6a739a42261886510f842778
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-05-10 Thread Johannes Löthberg via arch-commits
Date: Sunday, May 10, 2020 @ 20:26:16
  Author: demize
Revision: 626218

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 626217, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 626217, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 626217, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 626217, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-05-10 20:26:16 UTC (rev 626218)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.5.1
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('70bce53e435137a7fa959e7cb6fc8333f60d29c7053fcc685ebe01e2c816295ad38898402d317d2c4fd7f48542e0c3886ccb5ddf0797415a1cfe03ffa1731245'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
+  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 626217, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-05-10 20:26:16 UTC (rev 
626218)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 626217, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-05-10 20:26:16 UTC (rev 
626218)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/trunk (PKGBUILD)

2020-05-10 Thread Johannes Löthberg via arch-commits
Date: Sunday, May 10, 2020 @ 20:26:01
  Author: demize
Revision: 626217

upgpkg: go-ipfs 0.5.1-1

Modified:
  go-ipfs/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-10 20:13:35 UTC (rev 626216)
+++ PKGBUILD2020-05-10 20:26:01 UTC (rev 626217)
@@ -5,8 +5,8 @@
 # Contributor: Ian Naval 
 
 pkgname=go-ipfs
-pkgver=0.4.23
-pkgrel=3
+pkgver=0.5.1
+pkgrel=1
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
 url='https://ipfs.io/'
@@ -15,7 +15,7 @@
 
 depends=(glibc)
 optdepends=('fuse2: for mounting/advanced use')
-makedepends=(go-pie git)
+makedepends=(go git)
 
 
source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
 ipfs.service
@@ -22,7 +22,7 @@
 ipfs@.service)
 noextract=(go-ipfs-$pkgver.tar.gz)
 
-sha512sums=('d87513392336fc537bf9c8578d34d650482001c37c1636d64f68fe5d5291c21990c72286c26f43cb6bc2c9c9df14bae69996b60ad6744f335276d52b0cb6978e'
+sha512sums=('70bce53e435137a7fa959e7cb6fc8333f60d29c7053fcc685ebe01e2c816295ad38898402d317d2c4fd7f48542e0c3886ccb5ddf0797415a1cfe03ffa1731245'
 
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
 
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
 
@@ -33,6 +33,12 @@
 
 build() {
   cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
   make build
 }
 


[arch-commits] Commit in go-bindata/trunk (PKGBUILD)

2020-05-08 Thread Felix Yan via arch-commits
Date: Friday, May 8, 2020 @ 08:34:13
  Author: felixonmars
Revision: 625557

upgpkg: go-bindata 3.5.2-1

Modified:
  go-bindata/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-08 08:30:35 UTC (rev 625556)
+++ PKGBUILD2020-05-08 08:34:13 UTC (rev 625557)
@@ -2,7 +2,7 @@
 # Contributor: Lubomir 'Kuci' Kucera 
 
 pkgname=go-bindata
-pkgver=3.5.1
+pkgver=3.5.2
 pkgrel=1
 pkgdesc="A small utility which generates Go code from any file"
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('glibc')
 makedepends=('go-pie')
 source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('19cf44d8e7d67dcc2ed470e39cb1464351f91927133500604166e0b0981799f7cc5ba10c122761174ae101901a729a5d56bd0ae4d678eb846550a61624c502d4')
+sha512sums=('2e9a807445ed6ddfd681f6886503c116c8ceba6572f5a8b2cdbf78c585a476b5dfb0dc967b62f1510caef8e1e09db39043362e252da773272a79a7b257c9d275')
 
 prepare() {
 mkdir -p "${srcdir}/src/github.com/shuLhan/"


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

2020-05-08 Thread Felix Yan via arch-commits
Date: Friday, May 8, 2020 @ 08:34:29
  Author: felixonmars
Revision: 625558

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-08 08:34:13 UTC (rev 625557)
+++ PKGBUILD2020-05-08 08:34:29 UTC (rev 625558)
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata
-pkgver=3.5.1
-pkgrel=1
-pkgdesc="A small utility which generates Go code from any file"
-arch=('x86_64')
-url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('19cf44d8e7d67dcc2ed470e39cb1464351f91927133500604166e0b0981799f7cc5ba10c122761174ae101901a729a5d56bd0ae4d678eb846550a61624c502d4')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: go-bindata/repos/community-x86_64/PKGBUILD (from rev 625557, 
go-bindata/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-08 08:34:29 UTC (rev 625558)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata
+pkgver=3.5.2
+pkgrel=1
+pkgdesc="A small utility which generates Go code from any file"
+arch=('x86_64')
+url='https://github.com/shuLhan/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go-pie')
+source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+sha512sums=('2e9a807445ed6ddfd681f6886503c116c8ceba6572f5a8b2cdbf78c585a476b5dfb0dc967b62f1510caef8e1e09db39043362e252da773272a79a7b257c9d275')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/shuLhan/"
+mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2020-05-07 Thread Felix Yan via arch-commits
Date: Thursday, May 7, 2020 @ 06:20:52
  Author: felixonmars
Revision: 625282

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-07 06:20:37 UTC (rev 625281)
+++ PKGBUILD2020-05-07 06:20:52 UTC (rev 625282)
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="A small utility which generates Go code from any file"
-arch=('x86_64')
-url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('4f7f35a12ed98ede5e7967db0584b42aa3f7c9ce59459e710023827bd7cfea1be34b617606789b23c2fa87e88628bc4f2545d288944c313475ee7e08016702c7')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: go-bindata/repos/community-x86_64/PKGBUILD (from rev 625281, 
go-bindata/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-07 06:20:52 UTC (rev 625282)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata
+pkgver=3.5.1
+pkgrel=1
+pkgdesc="A small utility which generates Go code from any file"
+arch=('x86_64')
+url='https://github.com/shuLhan/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go-pie')
+source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+sha512sums=('19cf44d8e7d67dcc2ed470e39cb1464351f91927133500604166e0b0981799f7cc5ba10c122761174ae101901a729a5d56bd0ae4d678eb846550a61624c502d4')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/shuLhan/"
+mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in go-bindata/trunk (PKGBUILD)

2020-05-07 Thread Felix Yan via arch-commits
Date: Thursday, May 7, 2020 @ 06:20:37
  Author: felixonmars
Revision: 625281

upgpkg: go-bindata 3.5.1-1

Modified:
  go-bindata/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-07 06:19:23 UTC (rev 625280)
+++ PKGBUILD2020-05-07 06:20:37 UTC (rev 625281)
@@ -2,7 +2,7 @@
 # Contributor: Lubomir 'Kuci' Kucera 
 
 pkgname=go-bindata
-pkgver=3.5.0
+pkgver=3.5.1
 pkgrel=1
 pkgdesc="A small utility which generates Go code from any file"
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('glibc')
 makedepends=('go-pie')
 source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('4f7f35a12ed98ede5e7967db0584b42aa3f7c9ce59459e710023827bd7cfea1be34b617606789b23c2fa87e88628bc4f2545d288944c313475ee7e08016702c7')
+sha512sums=('19cf44d8e7d67dcc2ed470e39cb1464351f91927133500604166e0b0981799f7cc5ba10c122761174ae101901a729a5d56bd0ae4d678eb846550a61624c502d4')
 
 prepare() {
 mkdir -p "${srcdir}/src/github.com/shuLhan/"


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 09:01:05
  Author: felixonmars
Revision: 617823

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-23 09:00:50 UTC (rev 617822)
+++ PKGBUILD2020-04-23 09:01:05 UTC (rev 617823)
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata
-pkgver=3.4.0
-pkgrel=4
-pkgdesc="A small utility which generates Go code from any file"
-arch=('x86_64')
-url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('7fc367c49267064eadf469da6dc4293d001ef7c39b9fe2e19958bcfa361cd8d58f5a8e414e8f56598c33b3823c174d9cc21bdcc3f39c9c7d1f975335a267fbe4')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: go-bindata/repos/community-x86_64/PKGBUILD (from rev 617822, 
go-bindata/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-23 09:01:05 UTC (rev 617823)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata
+pkgver=3.5.0
+pkgrel=1
+pkgdesc="A small utility which generates Go code from any file"
+arch=('x86_64')
+url='https://github.com/shuLhan/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go-pie')
+source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+sha512sums=('4f7f35a12ed98ede5e7967db0584b42aa3f7c9ce59459e710023827bd7cfea1be34b617606789b23c2fa87e88628bc4f2545d288944c313475ee7e08016702c7')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/shuLhan/"
+mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in go-bindata/trunk (PKGBUILD)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 09:00:50
  Author: felixonmars
Revision: 617822

upgpkg: go-bindata 3.5.0-1

Modified:
  go-bindata/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 09:00:32 UTC (rev 617821)
+++ PKGBUILD2020-04-23 09:00:50 UTC (rev 617822)
@@ -2,8 +2,8 @@
 # Contributor: Lubomir 'Kuci' Kucera 
 
 pkgname=go-bindata
-pkgver=3.4.0
-pkgrel=4
+pkgver=3.5.0
+pkgrel=1
 pkgdesc="A small utility which generates Go code from any file"
 arch=('x86_64')
 url='https://github.com/shuLhan/go-bindata'
@@ -11,7 +11,7 @@
 depends=('glibc')
 makedepends=('go-pie')
 source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('7fc367c49267064eadf469da6dc4293d001ef7c39b9fe2e19958bcfa361cd8d58f5a8e414e8f56598c33b3823c174d9cc21bdcc3f39c9c7d1f975335a267fbe4')
+sha512sums=('4f7f35a12ed98ede5e7967db0584b42aa3f7c9ce59459e710023827bd7cfea1be34b617606789b23c2fa87e88628bc4f2545d288944c313475ee7e08016702c7')
 
 prepare() {
 mkdir -p "${srcdir}/src/github.com/shuLhan/"


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-04-16 Thread Nicola Squartini via arch-commits
Date: Friday, April 17, 2020 @ 02:52:31
  Author: tensor5
Revision: 615398

upgpkg: go-ethereum 1.9.13-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-17 02:41:22 UTC (rev 615397)
+++ PKGBUILD2020-04-17 02:52:31 UTC (rev 615398)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.12
-_commit=b6f1c8dcc058a936955eb8e5766e2962218924bc
+pkgver=1.9.13
+_commit=cbc4ac264e9671898bff6ec7e434da3eca4bd273
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')


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

2020-04-16 Thread Nicola Squartini via arch-commits
Date: Friday, April 17, 2020 @ 02:53:00
  Author: tensor5
Revision: 615399

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-17 02:52:31 UTC (rev 615398)
+++ PKGBUILD2020-04-17 02:53:00 UTC (rev 615399)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.12
-_commit=b6f1c8dcc058a936955eb8e5766e2962218924bc
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-export CGO_LDFLAGS="${LDFLAGS}"
-export GOFLAGS="-buildmode=pie"
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 615398, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-17 02:53:00 UTC (rev 615399)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.13
+_commit=cbc4ac264e9671898bff6ec7e434da3eca4bd273
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-04-09 Thread Morten Linderud via arch-commits
Date: Thursday, April 9, 2020 @ 15:24:00
  Author: foxboron
Revision: 613039

upgpkg: go 2:1.14.2-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-09 15:09:48 UTC (rev 613038)
+++ PKGBUILD2020-04-09 15:24:00 UTC (rev 613039)
@@ -14,15 +14,15 @@
 pkgbase=go
 pkgname=(go go-pie)
 epoch=2
-pkgver=1.14.1
+pkgver=1.14.2
 pkgrel=1
 arch=(x86_64)
 url='https://golang.org/'
 license=(BSD)
-makedepends=(git go)
+makedepends=(git go perl)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
 default-buildmode-pie.patch)
-sha256sums=('2ad2572115b0d1b4cb4c138e6b3a31cee6294cb48af75ee86bec3dca04507676'
+sha256sums=('98de84e69726a66da7b4e58eac41b99cbe274d7e8906eeb8a5b7eb0aadee7f7c'
 'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
 
 prepare() {


[arch-commits] Commit in go/repos/community-x86_64 (4 files)

2020-04-09 Thread Morten Linderud via arch-commits
Date: Thursday, April 9, 2020 @ 15:24:10
  Author: foxboron
Revision: 613040

archrelease: copy trunk to community-x86_64

Added:
  go/repos/community-x86_64/PKGBUILD
(from rev 613039, go/trunk/PKGBUILD)
  go/repos/community-x86_64/default-buildmode-pie.patch
(from rev 613039, go/trunk/default-buildmode-pie.patch)
Deleted:
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/default-buildmode-pie.patch

-+
 PKGBUILD|  222 +-
 default-buildmode-pie.patch |   26 ++--
 2 files changed, 124 insertions(+), 124 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-09 15:24:00 UTC (rev 613039)
+++ PKGBUILD2020-04-09 15:24:10 UTC (rev 613040)
@@ -1,111 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.14.1
-pkgrel=1
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
-default-buildmode-pie.patch)
-sha256sums=('2ad2572115b0d1b4cb4c138e6b3a31cee6294cb48af75ee86bec3dca04507676'
-'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
-
-prepare() {
-  cp -r $pkgbase $pkgbase-pie
-  cd $pkgbase-pie
-  patch -p1 -i "$srcdir/default-buildmode-pie.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-export GOBIN="$GOROOT/bin"
-
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean -v
-
-PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-PATH="$GOBIN:$PATH" go install -v -race std
-  done
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  # Run test suite only for unpatched Go as it expects non-PIE ldBuildmode
-  export GOROOT="$srcdir/$pkgbase"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgbase/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgbase/src
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-_package() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  options=(!strip staticlibs)
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$1/LICENSE"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-
-  _package $pkgname
-}
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=("go=$epoch:$pkgver-$pkgrel")
-  conflicts=(go)
-
-  _package $pkgname
-
-  # linux_amd64 is essentially the content of linux_amd64_shared, however 
there might
-  # be cases where the user could generate the _shared directory as it's 
missing in go-pie.
-  # Make sure it exists without rebuilding std with -buildmode=pie.
-  cp -a "$pkgdir/usr/lib/go/pkg/linux_amd64/" 
"$pkgdir/usr/lib/go/pkg/linux_amd64_shared"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 613039, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-09 15:24:10 UTC (rev 613040)
@@ -0,0 +1,111 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgbase=go
+pkgname=(go go-pie)
+epoch=2
+pkgver=1.14.2
+pkgrel=1
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go perl)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
+

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

2020-03-28 Thread Morten Linderud via arch-commits
Date: Saturday, March 28, 2020 @ 13:15:16
  Author: foxboron
Revision: 605081

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   57 -
 1 file changed, 28 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-28 13:15:07 UTC (rev 605080)
+++ PKGBUILD2020-03-28 13:15:16 UTC (rev 605081)
@@ -1,29 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Sébastien "Seblu" Luttringer 
-
-pkgname=go-md2man
-pkgver=2.0.0
-pkgrel=2
-pkgdesc='A markdown to manpage generator'
-arch=('x86_64')
-url='https://github.com/cpuguy83/go-md2man'
-license=('MIT')
-makedepends=('go-pie')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz;)
-sha256sums=('50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576')
-
-build() {
-  export GOPATH=$(readlink -f .)
-  local repo=src/github.com/cpuguy83
-  mkdir -p "$repo"
-  ln -sf "../../../go-md2man-$pkgver" "$repo/go-md2man"
-  cd "$repo/go-md2man"
-  go get -v ./...
-  "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1
-}
-
-package() {
-  install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man"
-  install -Dm755 "$srcdir/$pkgname-$pkgver/go-md2man.1" 
"$pkgdir/usr/share/man/man1/go-md2man.1"
-  install -Dm755 "$srcdir/$pkgname-$pkgver/LICENSE.md" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: go-md2man/repos/community-x86_64/PKGBUILD (from rev 605080, 
go-md2man/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-28 13:15:16 UTC (rev 605081)
@@ -0,0 +1,28 @@
+# Maintainer: Morten Linderud 
+# Contributor: Sébastien "Seblu" Luttringer 
+
+pkgname=go-md2man
+pkgver=2.0.0
+pkgrel=3
+pkgdesc='A markdown to manpage generator'
+arch=('x86_64')
+url='https://github.com/cpuguy83/go-md2man'
+license=('MIT')
+makedepends=('go')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz;)
+sha256sums=('50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576')
+
+build() {
+  cd "$pkgname-$pkgver"
+  export GOFLAGS="-buildmode=pie -mod=vendor -trimpath"
+  export CGO_LDFLAGS="$LDFLAGS"
+  go build -o go-md2man .
+  ./go-md2man -in=go-md2man.1.md -out=go-md2man.1
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm755 go-md2man "$pkgdir/usr/bin/go-md2man"
+  install -Dm755 go-md2man.1 "$pkgdir/usr/share/man/man1/go-md2man.1"
+  install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in go-md2man/trunk (PKGBUILD)

2020-03-28 Thread Morten Linderud via arch-commits
Date: Saturday, March 28, 2020 @ 13:15:07
  Author: foxboron
Revision: 605080

upgpkg: go-md2man 2.0.0-3

Modified:
  go-md2man/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-28 13:11:20 UTC (rev 605079)
+++ PKGBUILD2020-03-28 13:15:07 UTC (rev 605080)
@@ -3,27 +3,26 @@
 
 pkgname=go-md2man
 pkgver=2.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A markdown to manpage generator'
 arch=('x86_64')
 url='https://github.com/cpuguy83/go-md2man'
 license=('MIT')
-makedepends=('go-pie')
+makedepends=('go')
 
source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz;)
 sha256sums=('50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576')
 
 build() {
-  export GOPATH=$(readlink -f .)
-  local repo=src/github.com/cpuguy83
-  mkdir -p "$repo"
-  ln -sf "../../../go-md2man-$pkgver" "$repo/go-md2man"
-  cd "$repo/go-md2man"
-  go get -v ./...
-  "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1
+  cd "$pkgname-$pkgver"
+  export GOFLAGS="-buildmode=pie -mod=vendor -trimpath"
+  export CGO_LDFLAGS="$LDFLAGS"
+  go build -o go-md2man .
+  ./go-md2man -in=go-md2man.1.md -out=go-md2man.1
 }
 
 package() {
-  install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man"
-  install -Dm755 "$srcdir/$pkgname-$pkgver/go-md2man.1" 
"$pkgdir/usr/share/man/man1/go-md2man.1"
-  install -Dm755 "$srcdir/$pkgname-$pkgver/LICENSE.md" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd "$pkgname-$pkgver"
+  install -Dm755 go-md2man "$pkgdir/usr/bin/go-md2man"
+  install -Dm755 go-md2man.1 "$pkgdir/usr/share/man/man1/go-md2man.1"
+  install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


[arch-commits] Commit in go/trunk (PKGBUILD)

2020-03-21 Thread Morten Linderud via arch-commits
Date: Saturday, March 21, 2020 @ 13:20:08
  Author: foxboron
Revision: 602575

upgpkg: go 2:1.14.1-1

Modified:
  go/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-21 13:05:52 UTC (rev 602574)
+++ PKGBUILD2020-03-21 13:20:08 UTC (rev 602575)
@@ -14,7 +14,7 @@
 pkgbase=go
 pkgname=(go go-pie)
 epoch=2
-pkgver=1.14
+pkgver=1.14.1
 pkgrel=1
 arch=(x86_64)
 url='https://golang.org/'
@@ -22,7 +22,7 @@
 makedepends=(git go)
 source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
 default-buildmode-pie.patch)
-sha256sums=('6d643e46ad565058c7a39dac01144172ef9bd476521f42148be59249e4b74389'
+sha256sums=('2ad2572115b0d1b4cb4c138e6b3a31cee6294cb48af75ee86bec3dca04507676'
 'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
 
 prepare() {


[arch-commits] Commit in go/repos/community-x86_64 (4 files)

2020-03-21 Thread Morten Linderud via arch-commits
Date: Saturday, March 21, 2020 @ 13:20:18
  Author: foxboron
Revision: 602576

archrelease: copy trunk to community-x86_64

Added:
  go/repos/community-x86_64/PKGBUILD
(from rev 602575, go/trunk/PKGBUILD)
  go/repos/community-x86_64/default-buildmode-pie.patch
(from rev 602575, go/trunk/default-buildmode-pie.patch)
Deleted:
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/default-buildmode-pie.patch

-+
 PKGBUILD|  222 +-
 default-buildmode-pie.patch |   26 ++--
 2 files changed, 124 insertions(+), 124 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-21 13:20:08 UTC (rev 602575)
+++ PKGBUILD2020-03-21 13:20:18 UTC (rev 602576)
@@ -1,111 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Bartłomiej Piotrowski 
-# Contributor: Alexander F. Rødseth 
-# Contributor: Pierre Neidhardt 
-# Contributor: Vesa Kaihlavirta 
-# Contributor: Rémy Oudompheng 
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.14
-pkgrel=1
-arch=(x86_64)
-url='https://golang.org/'
-license=(BSD)
-makedepends=(git go)
-source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
-default-buildmode-pie.patch)
-sha256sums=('6d643e46ad565058c7a39dac01144172ef9bd476521f42148be59249e4b74389'
-'be1269689de3cf5c926cf7de07f88d2a6d1ecbfc86694baaf5baee3bdcfdd79a')
-
-prepare() {
-  cp -r $pkgbase $pkgbase-pie
-  cd $pkgbase-pie
-  patch -p1 -i "$srcdir/default-buildmode-pie.patch"
-}
-
-build() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-export GOBIN="$GOROOT/bin"
-
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean -v
-
-PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
-PATH="$GOBIN:$PATH" go install -v -race std
-  done
-}
-
-check() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-  # Run test suite only for unpatched Go as it expects non-PIE ldBuildmode
-  export GOROOT="$srcdir/$pkgbase"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgbase/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  cd $pkgbase/src
-  ./run.bash --no-rebuild -v -v -v -k
-}
-
-_package() {
-  export GOARCH=amd64
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  options=(!strip staticlibs)
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
-
-  # TODO: Figure out if really needed
-  rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$1/LICENSE"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-
-  _package $pkgname
-}
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=("go=$epoch:$pkgver-$pkgrel")
-  conflicts=(go)
-
-  _package $pkgname
-
-  # linux_amd64 is essentially the content of linux_amd64_shared, however 
there might
-  # be cases where the user could generate the _shared directory as it's 
missing in go-pie.
-  # Make sure it exists without rebuilding std with -buildmode=pie.
-  cp -a "$pkgdir/usr/lib/go/pkg/linux_amd64/" 
"$pkgdir/usr/lib/go/pkg/linux_amd64_shared"
-}
-
-# vim: ts=2 sw=2 et

Copied: go/repos/community-x86_64/PKGBUILD (from rev 602575, go/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-21 13:20:18 UTC (rev 602576)
@@ -0,0 +1,111 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Bartłomiej Piotrowski 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Pierre Neidhardt 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Rémy Oudompheng 
+# Contributor: Andres Perera 
+# Contributor: Matthew Bauer 
+# Contributor: Christian Himpel 
+# Contributor: Mike Rosset 
+# Contributor: Daniel YC Lin 
+# Contributor: John Luebs 
+
+pkgbase=go
+pkgname=(go go-pie)
+epoch=2
+pkgver=1.14.1
+pkgrel=1
+arch=(x86_64)
+url='https://golang.org/'
+license=(BSD)
+makedepends=(git go)
+source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
+

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

2020-03-16 Thread Nicola Squartini via arch-commits
Date: Tuesday, March 17, 2020 @ 01:18:40
  Author: tensor5
Revision: 599986

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   60 +++-
 1 file changed, 31 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-17 01:18:10 UTC (rev 599985)
+++ PKGBUILD2020-03-17 01:18:40 UTC (rev 599986)
@@ -1,29 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=go-ethereum
-pkgver=1.9.11
-_commit=6a62fe399b68ab9e3625ef5e7900394f389adc3a
-pkgrel=2
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go-pie')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
-sha256sums=('SKIP')
-
-build() {
-cd ${pkgname}
-
-make all
-}
-
-package() {
-cd ${pkgname}
-
-install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}

Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 599985, 
go-ethereum/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-17 01:18:40 UTC (rev 599986)
@@ -0,0 +1,31 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=go-ethereum
+pkgver=1.9.12
+_commit=b6f1c8dcc058a936955eb8e5766e2962218924bc
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+build() {
+cd ${pkgname}
+
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
+make all
+}
+
+package() {
+cd ${pkgname}
+
+install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+}


[arch-commits] Commit in go-ethereum/trunk (PKGBUILD)

2020-03-16 Thread Nicola Squartini via arch-commits
Date: Tuesday, March 17, 2020 @ 01:18:10
  Author: tensor5
Revision: 599985

upgpkg: go-ethereum 1.9.12-1

Modified:
  go-ethereum/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-17 01:08:06 UTC (rev 599984)
+++ PKGBUILD2020-03-17 01:18:10 UTC (rev 599985)
@@ -1,15 +1,15 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=go-ethereum
-pkgver=1.9.11
-_commit=6a62fe399b68ab9e3625ef5e7900394f389adc3a
-pkgrel=2
+pkgver=1.9.12
+_commit=b6f1c8dcc058a936955eb8e5766e2962218924bc
+pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')
 url='https://geth.ethereum.org/'
 license=('GPL3')
 depends=('glibc')
-makedepends=('git' 'go-pie')
+makedepends=('git' 'go')
 provides=('geth')
 conflicts=('geth')
 replaces=('geth')
@@ -19,6 +19,8 @@
 build() {
 cd ${pkgname}
 
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie"
 make all
 }
 


[arch-commits] Commit in go-ipfs/trunk (PKGBUILD)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:16:20
  Author: felixonmars
Revision: 593007

upgpkg: go-ipfs 0.4.23-3: rebuild with go 1.14

Modified:
  go-ipfs/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-09 11:15:37 UTC (rev 593006)
+++ PKGBUILD2020-03-09 11:16:20 UTC (rev 593007)
@@ -6,7 +6,7 @@
 
 pkgname=go-ipfs
 pkgver=0.4.23
-pkgrel=1
+pkgrel=3
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
 url='https://ipfs.io/'


[arch-commits] Commit in go-ipfs/repos/community-x86_64 (6 files)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:16:35
  Author: felixonmars
Revision: 593008

archrelease: copy trunk to community-x86_64

Added:
  go-ipfs/repos/community-x86_64/PKGBUILD
(from rev 593007, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-x86_64/ipfs.service
(from rev 593007, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-x86_64/ipfs@.service
(from rev 593007, go-ipfs/trunk/ipfs@.service)
Deleted:
  go-ipfs/repos/community-x86_64/PKGBUILD
  go-ipfs/repos/community-x86_64/ipfs.service
  go-ipfs/repos/community-x86_64/ipfs@.service

---+
 PKGBUILD  |   96 
 ipfs.service  |   18 +-
 ipfs@.service |   20 +--
 3 files changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-09 11:16:20 UTC (rev 593007)
+++ PKGBUILD2020-03-09 11:16:35 UTC (rev 593008)
@@ -1,48 +0,0 @@
-# Maintainer: Johannes Löthberg 
-# Contributor: Anatol Pomozov
-# Contributor: kpcyrd 
-# Contributor: Frederik “Freso” S. Olesen 
-# Contributor: Ian Naval 
-
-pkgname=go-ipfs
-pkgver=0.4.23
-pkgrel=1
-
-pkgdesc='A peer-to-peer hypermedia distribution protocol'
-url='https://ipfs.io/'
-arch=(x86_64)
-license=(MIT)
-
-depends=(glibc)
-optdepends=('fuse2: for mounting/advanced use')
-makedepends=(go-pie git)
-
-source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
-ipfs.service
-ipfs@.service)
-noextract=(go-ipfs-$pkgver.tar.gz)
-
-sha512sums=('d87513392336fc537bf9c8578d34d650482001c37c1636d64f68fe5d5291c21990c72286c26f43cb6bc2c9c9df14bae69996b60ad6744f335276d52b0cb6978e'
-
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
-
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
-
-prepare() {
-  mkdir -p go-ipfs
-  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
-}
-
-build() {
-  cd go-ipfs
-  make build
-}
-
-package() {
-  cd go-ipfs
-  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
-  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
-  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
-  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
-  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-}

Copied: go-ipfs/repos/community-x86_64/PKGBUILD (from rev 593007, 
go-ipfs/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-09 11:16:35 UTC (rev 593008)
@@ -0,0 +1,48 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.4.23
+pkgrel=3
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go-pie git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('d87513392336fc537bf9c8578d34d650482001c37c1636d64f68fe5d5291c21990c72286c26f43cb6bc2c9c9df14bae69996b60ad6744f335276d52b0cb6978e'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
+  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Deleted: ipfs.service
===
--- ipfs.service2020-03-09 11:16:20 UTC (rev 593007)
+++ ipfs.service

[arch-commits] Commit in go-bindata-hashicorp/trunk (PKGBUILD)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:14:44
  Author: felixonmars
Revision: 592989

upgpkg: go-bindata-hashicorp 3.0.7+bf7910af-2: rebuild with go 1.14

Modified:
  go-bindata-hashicorp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-09 11:14:44 UTC (rev 592988)
+++ PKGBUILD2020-03-09 11:14:44 UTC (rev 592989)
@@ -6,7 +6,7 @@
 _pkgname=go-bindata
 _commit=bf7910af899725e4938903fb32048c7c0b15f12e
 pkgver=3.0.7+bf7910af
-pkgrel=1
+pkgrel=2
 pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
 arch=('x86_64')
 url='https://github.com/hashicorp/go-bindata'


[arch-commits] Commit in go-bindata-hashicorp/repos/community-x86_64 (2 files)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:14:53
  Author: felixonmars
Revision: 592990

archrelease: copy trunk to community-x86_64

Added:
  go-bindata-hashicorp/repos/community-x86_64/PKGBUILD
(from rev 592989, go-bindata-hashicorp/trunk/PKGBUILD)
Deleted:
  go-bindata-hashicorp/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   70 ++---
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-09 11:14:44 UTC (rev 592989)
+++ PKGBUILD2020-03-09 11:14:53 UTC (rev 592990)
@@ -1,35 +0,0 @@
-# Maintainer: Christian Rebischke 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata-hashicorp
-_pkgname=go-bindata
-_commit=bf7910af899725e4938903fb32048c7c0b15f12e
-pkgver=3.0.7+bf7910af
-pkgrel=1
-pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
-arch=('x86_64')
-url='https://github.com/hashicorp/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit};)
-sha512sums=('SKIP')
-provides=('go-bindata')
-conflicts=('go-bindata')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/hashicorp/"
-mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-}

Copied: go-bindata-hashicorp/repos/community-x86_64/PKGBUILD (from rev 592989, 
go-bindata-hashicorp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-09 11:14:53 UTC (rev 592990)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata-hashicorp
+_pkgname=go-bindata
+_commit=bf7910af899725e4938903fb32048c7c0b15f12e
+pkgver=3.0.7+bf7910af
+pkgrel=2
+pkgdesc="A small utility which generates Go code from any file (Hashicorp 
version)"
+arch=('x86_64')
+url='https://github.com/hashicorp/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit};)
+sha512sums=('SKIP')
+provides=('go-bindata')
+conflicts=('go-bindata')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/hashicorp/"
+mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}


[arch-commits] Commit in go-bindata-assetfs/trunk (PKGBUILD)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:13:51
  Author: felixonmars
Revision: 592984

upgpkg: go-bindata-assetfs 1.0.0-4: rebuild with go 1.14

Modified:
  go-bindata-assetfs/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-09 11:13:03 UTC (rev 592983)
+++ PKGBUILD2020-03-09 11:13:51 UTC (rev 592984)
@@ -2,7 +2,7 @@
 
 pkgname=go-bindata-assetfs
 pkgver=1.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Serves embedded files from jteeuwen/go-bindata with net/http"
 arch=('x86_64')
 url="https://github.com/elazarl/go-bindata-assetfs;


[arch-commits] Commit in go-bindata-assetfs/repos/community-x86_64 (4 files)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:14:01
  Author: felixonmars
Revision: 592985

archrelease: copy trunk to community-x86_64

Added:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
(from rev 592984, 
go-bindata-assetfs/trunk/38087fe4dafb822e541b3f7955075cc1c30bd294.patch)
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD
(from rev 592984, go-bindata-assetfs/trunk/PKGBUILD)
Deleted:
  
go-bindata-assetfs/repos/community-x86_64/38087fe4dafb822e541b3f7955075cc1c30bd294.patch
  go-bindata-assetfs/repos/community-x86_64/PKGBUILD

+
 38087fe4dafb822e541b3f7955075cc1c30bd294.patch |  226 +++
 PKGBUILD   |   70 +++
 2 files changed, 148 insertions(+), 148 deletions(-)

Deleted: 38087fe4dafb822e541b3f7955075cc1c30bd294.patch
===
--- 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-03-09 11:13:51 UTC 
(rev 592984)
+++ 38087fe4dafb822e541b3f7955075cc1c30bd294.patch  2020-03-09 11:14:01 UTC 
(rev 592985)
@@ -1,113 +0,0 @@
-From b1a95d801a866b44a1c4ec60c2abaeb77ae54a87 Mon Sep 17 00:00:00 2001
-From: Mark Wallsgrove 
-Date: Sat, 2 Jan 2016 13:33:47 +
-Subject: [PATCH] Parse the output location for bindatafile
-

- go-bindata-assetfs/main.go | 57 ++
- 1 file changed, 40 insertions(+), 17 deletions(-)
-
-diff --git a/go-bindata-assetfs/main.go b/go-bindata-assetfs/main.go
-index 2d65094..0c7f42c 100644
 a/go-bindata-assetfs/main.go
-+++ b/go-bindata-assetfs/main.go
-@@ -5,13 +5,12 @@ import (
-   "bytes"
-   "flag"
-   "fmt"
-+  "io/ioutil"
-   "os"
-   "os/exec"
-   "strings"
- )
- 
--const bindatafile = "bindata.go"
--
- func isDebug(args []string) bool {
-   flagset := flag.NewFlagSet("", flag.ContinueOnError)
-   debug := flagset.Bool("debug", false, "")
-@@ -28,29 +27,53 @@ func isDebug(args []string) bool {
-   return *debug
- }
- 
-+func getBinDataFile() (*os.File, *os.File, []string, error) {
-+  bindataArgs := make([]string, 0)
-+  outputLoc := "bindata.go"
-+
-+  for i := 1; i < len(os.Args); i++ {
-+  if os.Args[i] == "-o" {
-+  outputLoc = os.Args[i+1]
-+  i++
-+  } else {
-+  bindataArgs = append(bindataArgs, os.Args[i])
-+  }
-+  }
-+
-+  tempFile, err := ioutil.TempFile(os.TempDir(), "")
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  outputFile, err := os.Create(outputLoc)
-+  if err != nil {
-+  return {}, {}, nil, err
-+  }
-+
-+  bindataArgs = append([]string{"-o", tempFile.Name()}, bindataArgs...)
-+  return outputFile, tempFile, bindataArgs, nil
-+}
-+
- func main() {
--  if _, err := exec.LookPath("go-bindata"); err != nil {
-+  path, err := exec.LookPath("go-bindata")
-+  if err != nil {
-   fmt.Println("Cannot find go-bindata executable in path")
-   fmt.Println("Maybe you need: go get 
github.com/elazarl/go-bindata-assetfs/...")
-   os.Exit(1)
-   }
--  cmd := exec.Command("go-bindata", os.Args[1:]...)
-+  out, in, args, err := getBinDataFile()
-+  if err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: cannot create temporary file", 
err)
-+  os.Exit(1)
-+  }
-+  cmd := exec.Command(path, args...)
-   cmd.Stdin = os.Stdin
-   cmd.Stdout = os.Stdout
-   cmd.Stderr = os.Stderr
-   if err := cmd.Run(); err != nil {
-+  fmt.Fprintln(os.Stderr, "Error: go-bindata: ", err)
-   os.Exit(1)
-   }
--  in, err := os.Open(bindatafile)
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot read", bindatafile, err)
--  return
--  }
--  out, err := os.Create("bindata_assetfs.go")
--  if err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write 'bindata_assetfs.go'", 
err)
--  return
--  }
-   debug := isDebug(os.Args[1:])
-   r := bufio.NewReader(in)
-   done := false
-@@ -59,7 +82,7 @@ func main() {
-   line = append(line, '\n')
-   }
-   if _, err := out.Write(line); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot write to 
'bindata_assetfs.go'", err)
-+  fmt.Fprintln(os.Stderr, "Cannot write to ", out.Name(), 
err)
-   return
-   }
-   if !done && !isPrefix && bytes.HasPrefix(line, []byte("import 
(")) {
-@@ -91,7 +114,7 @@ func assetFS() *assetfs.AssetFS {
-   // Close files BEFORE remove calls (don't use defer).
-   in.Close()
-   out.Close()
--  if err := os.Remove(bindatafile); err != nil {
--  fmt.Fprintln(os.Stderr, "Cannot remove", 

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

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:13:03
  Author: felixonmars
Revision: 592983

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-03-09 11:12:53 UTC (rev 592982)
+++ PKGBUILD2020-03-09 11:13:03 UTC (rev 592983)
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Lubomir 'Kuci' Kucera 
-
-pkgname=go-bindata
-pkgver=3.4.0
-pkgrel=3
-pkgdesc="A small utility which generates Go code from any file"
-arch=('x86_64')
-url='https://github.com/shuLhan/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie')
-source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
-sha512sums=('7fc367c49267064eadf469da6dc4293d001ef7c39b9fe2e19958bcfa361cd8d58f5a8e414e8f56598c33b3823c174d9cc21bdcc3f39c9c7d1f975335a267fbe4')
-
-prepare() {
-mkdir -p "${srcdir}/src/github.com/shuLhan/"
-mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
-}
-
-build() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-GOPATH="${srcdir}" go build
-}
-
-package() {
-cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
-install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
-install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: go-bindata/repos/community-x86_64/PKGBUILD (from rev 592982, 
go-bindata/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-03-09 11:13:03 UTC (rev 592983)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Lubomir 'Kuci' Kucera 
+
+pkgname=go-bindata
+pkgver=3.4.0
+pkgrel=4
+pkgdesc="A small utility which generates Go code from any file"
+arch=('x86_64')
+url='https://github.com/shuLhan/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go-pie')
+source=("https://github.com/shuLhan/go-bindata/archive/v${pkgver}.tar.gz;)
+sha512sums=('7fc367c49267064eadf469da6dc4293d001ef7c39b9fe2e19958bcfa361cd8d58f5a8e414e8f56598c33b3823c174d9cc21bdcc3f39c9c7d1f975335a267fbe4')
+
+prepare() {
+mkdir -p "${srcdir}/src/github.com/shuLhan/"
+mv "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/src/github.com/shuLhan/go-bindata"
+}
+
+build() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+GOPATH="${srcdir}" go build
+}
+
+package() {
+cd "${srcdir}/src/github.com/shuLhan/go-bindata/cmd/go-bindata"
+install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+install -Dm644 ../../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in go-bindata/trunk (PKGBUILD)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 11:12:53
  Author: felixonmars
Revision: 592982

upgpkg: go-bindata 3.4.0-4: rebuild with go 1.14

Modified:
  go-bindata/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-09 11:12:46 UTC (rev 592981)
+++ PKGBUILD2020-03-09 11:12:53 UTC (rev 592982)
@@ -3,7 +3,7 @@
 
 pkgname=go-bindata
 pkgver=3.4.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A small utility which generates Go code from any file"
 arch=('x86_64')
 url='https://github.com/shuLhan/go-bindata'


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

2020-03-07 Thread Morten Linderud via arch-commits
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"
+}


  1   2   3   4   5   6   7   >