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

2017-10-30 Thread Bartłomiej Piotrowski
Date: Monday, October 30, 2017 @ 15:17:20
  Author: bpiotrowski
Revision: 308661

archrelease: copy trunk to extra-i686, extra-x86_64

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

--+
 /PKGBUILD|  178 +
 /default-buildmode-pie.patch |   28 
 extra-i686/PKGBUILD  |   98 ---
 extra-i686/default-buildmode-pie.patch   |   14 --
 extra-x86_64/PKGBUILD|   98 ---
 extra-x86_64/default-buildmode-pie.patch |   14 --
 6 files changed, 206 insertions(+), 224 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-10-30 15:14:05 UTC (rev 308660)
+++ extra-i686/PKGBUILD 2017-10-30 15:17:20 UTC (rev 308661)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.9.2
-pkgrel=1
-arch=(i686 x86_64)
-url='http://golang.org/'
-license=(BSD)
-makedepends=(git go)
-options=(!strip staticlibs)
-_commit=7f40c1214dd67cf171a347a5230da70bd8e10d32
-source=(git+https://go.googlesource.com/go#commit=$_commit
-default-buildmode-pie.patch)
-md5sums=('SKIP'
- '4feaf3d9028fff473d5a365389ced4c9')
-
-export GOOS=linux
-case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 GO386=387 ;;
-esac
-export GOROOT_FINAL=/usr/lib/go
-export GOROOT_BOOTSTRAP=/usr/lib/go
-
-prepare() {
-  cp -r $pkgbase ${pkgbase}-pie
-
-  cd ${pkgbase}-pie
-  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
-}
-
-build() {
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean
-  done
-}
-
-check() {
-  # 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 
-
-  # ./run.bash --no-rebuild -v -v -v -k |& tee run.log
-  # if (( $(grep -c Failed: run.log) > 5 )) && grep -q FAILED run.log; then
-  #   return 1
-  # fi
-
-  # go tool dist test -v -v -v -run=^cgo_test$
-  # go tool dist test -v -v -v -run=^race$
-}
-
-_package() {
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc "$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 LICENSE "$pkgdir/usr/share/licenses/go/LICENSE"
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
-  rm -rf "$pkgdir/usr/lib/go/pkg/tool/*/api"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-  provides=(go-pie)
-  conflicts=(go-pie)
-
-  _package $pkgname
-}
-
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=(go)
-  conflicts=(go)
-
-  _package $pkgname
-}

Copied: go/repos/extra-i686/PKGBUILD (from rev 308660, go/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-10-30 15:17:20 UTC (rev 308661)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+
+pkgbase=go
+pkgname=(go go-pie)
+epoch=2
+pkgver=1.9.2
+pkgrel=2
+arch=(i686 x86_64)
+url='http://golang.org/'
+license=(BSD)
+makedepends=(git go)
+options=(!strip staticlibs)
+_commit=2ea7d3461bb41d0ae12b56ee52d43314bcdb97f9  # tags/go1.9.2
+source=(git+https://go.googlesource.com/go#commit=$_commit
+default-buildmode-pie.patch)
+md5sums=('SKIP'
+ '4feaf3d9028fff473d5a365389ced4c9')
+
+export GOOS=linux
+case "$CARCH" in
+  x86_64) export GOARCH=amd64 ;;
+  i686) export GOARCH=386 GO386=387 ;;
+esac
+export GOROOT_FINAL=/usr/lib/go
+export GOROOT_BOOTSTRAP=/usr/lib/go
+
+prepare() {
+  cp -r $pkgbase ${pkgbase}-pie
+
+  cd ${pkgbase}-pie
+  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
+}
+
+build() {
+  export GOBIN="$GOROOT/bin"
+  export 

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

2017-10-26 Thread Bartłomiej Piotrowski
Date: Friday, October 27, 2017 @ 05:26:45
  Author: bpiotrowski
Revision: 308527

archrelease: copy trunk to extra-i686, extra-x86_64

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

--+
 /PKGBUILD|  196 +
 /default-buildmode-pie.patch |   28 
 extra-i686/PKGBUILD  |   98 --
 extra-i686/default-buildmode-pie.patch   |   14 --
 extra-x86_64/PKGBUILD|   98 --
 extra-x86_64/default-buildmode-pie.patch |   14 --
 6 files changed, 224 insertions(+), 224 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-10-27 05:26:24 UTC (rev 308526)
+++ extra-i686/PKGBUILD 2017-10-27 05:26:45 UTC (rev 308527)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.9.1
-pkgrel=1
-arch=(i686 x86_64)
-url='http://golang.org/'
-license=(BSD)
-makedepends=(git go)
-options=(!strip staticlibs)
-_commit=7f40c1214dd67cf171a347a5230da70bd8e10d32
-source=(git+https://go.googlesource.com/go#commit=$_commit
-default-buildmode-pie.patch)
-md5sums=('SKIP'
- '4feaf3d9028fff473d5a365389ced4c9')
-
-export GOOS=linux
-case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 GO386=387 ;;
-esac
-export GOROOT_FINAL=/usr/lib/go
-export GOROOT_BOOTSTRAP=/usr/lib/go
-
-prepare() {
-  cp -r $pkgbase ${pkgbase}-pie
-
-  cd ${pkgbase}-pie
-  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
-}
-
-build() {
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean
-  done
-}
-
-check() {
-  # 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 
-
-  # ./run.bash --no-rebuild -v -v -v -k |& tee run.log
-  # if (( $(grep -c Failed: run.log) > 5 )) && grep -q FAILED run.log; then
-  #   return 1
-  # fi
-
-  # go tool dist test -v -v -v -run=^cgo_test$
-  # go tool dist test -v -v -v -run=^race$
-}
-
-_package() {
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc "$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 LICENSE "$pkgdir/usr/share/licenses/go/LICENSE"
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
-  rm -rf "$pkgdir/usr/lib/go/pkg/tool/*/api"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-  provides=(go-pie)
-  conflicts=(go-pie)
-
-  _package $pkgname
-}
-
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=(go)
-  conflicts=(go)
-
-  _package $pkgname
-}

Copied: go/repos/extra-i686/PKGBUILD (from rev 308526, go/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-10-27 05:26:45 UTC (rev 308527)
@@ -0,0 +1,98 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+
+pkgbase=go
+pkgname=(go go-pie)
+epoch=2
+pkgver=1.9.2
+pkgrel=1
+arch=(i686 x86_64)
+url='http://golang.org/'
+license=(BSD)
+makedepends=(git go)
+options=(!strip staticlibs)
+_commit=7f40c1214dd67cf171a347a5230da70bd8e10d32
+source=(git+https://go.googlesource.com/go#commit=$_commit
+default-buildmode-pie.patch)
+md5sums=('SKIP'
+ '4feaf3d9028fff473d5a365389ced4c9')
+
+export GOOS=linux
+case "$CARCH" in
+  x86_64) export GOARCH=amd64 ;;
+  i686) export GOARCH=386 GO386=387 ;;
+esac
+export GOROOT_FINAL=/usr/lib/go
+export GOROOT_BOOTSTRAP=/usr/lib/go
+
+prepare() {
+  cp -r $pkgbase ${pkgbase}-pie
+
+  cd ${pkgbase}-pie
+  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
+}
+
+build() {
+  export GOBIN="$GOROOT/bin"
+  export GOPATH="$srcdir/"
+
+  

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

2017-10-10 Thread Bartłomiej Piotrowski
Date: Tuesday, October 10, 2017 @ 06:21:52
  Author: bpiotrowski
Revision: 307238

archrelease: copy trunk to extra-i686, extra-x86_64

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

--+
 /PKGBUILD|  196 +
 /default-buildmode-pie.patch |   28 
 extra-i686/PKGBUILD  |   98 --
 extra-i686/default-buildmode-pie.patch   |   14 --
 extra-x86_64/PKGBUILD|   98 --
 extra-x86_64/default-buildmode-pie.patch |   14 --
 6 files changed, 224 insertions(+), 224 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-10-10 06:21:39 UTC (rev 307237)
+++ extra-i686/PKGBUILD 2017-10-10 06:21:52 UTC (rev 307238)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-
-pkgbase=go
-pkgname=(go go-pie)
-epoch=2
-pkgver=1.9
-pkgrel=1
-arch=(i686 x86_64)
-url='http://golang.org/'
-license=(BSD)
-makedepends=(git go)
-options=(!strip staticlibs)
-_commit=c8aec4095e089ff6ac50d18e97c3f46561f14f48
-source=(git+https://go.googlesource.com/go#commit=$_commit
-default-buildmode-pie.patch)
-md5sums=('SKIP'
- '4feaf3d9028fff473d5a365389ced4c9')
-
-export GOOS=linux
-case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 GO386=387 ;;
-esac
-export GOROOT_FINAL=/usr/lib/go
-export GOROOT_BOOTSTRAP=/usr/lib/go
-
-prepare() {
-  cp -r $pkgbase ${pkgbase}-pie
-
-  cd ${pkgbase}-pie
-  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
-}
-
-build() {
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-
-  for _pkgname in ${pkgname[@]}; do
-export GOROOT="$srcdir/$_pkgname"
-cd "$srcdir/$_pkgname/src"
-./make.bash --no-clean
-  done
-}
-
-check() {
-  # 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 
-
-  # ./run.bash --no-rebuild -v -v -v -k |& tee run.log
-  # if (( $(grep -c Failed: run.log) > 5 )) && grep -q FAILED run.log; then
-  #   return 1
-  # fi
-
-  # go tool dist test -v -v -v -run=^cgo_test$
-  # go tool dist test -v -v -v -run=^race$
-}
-
-_package() {
-  cd "$srcdir/$1"
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc "$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 LICENSE "$pkgdir/usr/share/licenses/go/LICENSE"
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
-  rm -rf "$pkgdir/usr/lib/go/pkg/tool/*/api"
-}
-
-package_go() {
-  pkgdesc='Core compiler tools for the Go programming language'
-  provides=(go-pie)
-  conflicts=(go-pie)
-
-  _package $pkgname
-}
-
-
-package_go-pie() {
-  pkgdesc='Core compiler tools for the Go programming language (with PIE 
enabled by default)'
-  provides=(go)
-  conflicts=(go)
-
-  _package $pkgname
-}

Copied: go/repos/extra-i686/PKGBUILD (from rev 307237, go/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-10-10 06:21:52 UTC (rev 307238)
@@ -0,0 +1,98 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+
+pkgbase=go
+pkgname=(go go-pie)
+epoch=2
+pkgver=1.9.1
+pkgrel=1
+arch=(i686 x86_64)
+url='http://golang.org/'
+license=(BSD)
+makedepends=(git go)
+options=(!strip staticlibs)
+_commit=7f40c1214dd67cf171a347a5230da70bd8e10d32
+source=(git+https://go.googlesource.com/go#commit=$_commit
+default-buildmode-pie.patch)
+md5sums=('SKIP'
+ '4feaf3d9028fff473d5a365389ced4c9')
+
+export GOOS=linux
+case "$CARCH" in
+  x86_64) export GOARCH=amd64 ;;
+  i686) export GOARCH=386 GO386=387 ;;
+esac
+export GOROOT_FINAL=/usr/lib/go
+export GOROOT_BOOTSTRAP=/usr/lib/go
+
+prepare() {
+  cp -r $pkgbase ${pkgbase}-pie
+
+  cd ${pkgbase}-pie
+  patch -p1 -i "$srcdir"/default-buildmode-pie.patch
+}
+
+build() {
+  export GOBIN="$GOROOT/bin"
+  export GOPATH="$srcdir/"
+
+  

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

2017-03-20 Thread Bartłomiej Piotrowski
Date: Monday, March 20, 2017 @ 14:28:27
  Author: bpiotrowski
Revision: 291113

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  
go/repos/testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch
(from rev 291112, 
go/trunk/0001-time-make-the-ParseInLocation-test-more-robust.patch)
  go/repos/testing-i686/PKGBUILD
(from rev 291112, go/trunk/PKGBUILD)
  
go/repos/testing-x86_64/0001-time-make-the-ParseInLocation-test-more-robust.patch
(from rev 291112, 
go/trunk/0001-time-make-the-ParseInLocation-test-more-robust.patch)
  go/repos/testing-x86_64/PKGBUILD
(from rev 291112, go/trunk/PKGBUILD)
Deleted:
  
go/repos/testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch
  go/repos/testing-i686/PKGBUILD
  
go/repos/testing-x86_64/0001-time-make-the-ParseInLocation-test-more-robust.patch
  go/repos/testing-x86_64/PKGBUILD

--+
 /0001-time-make-the-ParseInLocation-test-more-robust.patch   |  
186 ++
 /PKGBUILD|  
156 
 testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch   |   
93 -
 testing-i686/PKGBUILD|   
77 
 testing-x86_64/0001-time-make-the-ParseInLocation-test-more-robust.patch |   
93 -
 testing-x86_64/PKGBUILD  |   
77 
 6 files changed, 342 insertions(+), 340 deletions(-)

Deleted: testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch
===
--- testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch  
2017-03-20 14:28:07 UTC (rev 291112)
+++ testing-i686/0001-time-make-the-ParseInLocation-test-more-robust.patch  
2017-03-20 14:28:27 UTC (rev 291113)
@@ -1,93 +0,0 @@
-From 91563ced5897faf729a34be7081568efcfedda31 Mon Sep 17 00:00:00 2001
-From: Alberto Donizetti 
-Date: Thu, 9 Mar 2017 13:20:54 +0100
-Subject: [PATCH] time: make the ParseInLocation test more robust
-
-The tzdata 2017a update (2017-02-28) changed the abbreviation of the
-Asia/Baghdad time zone (used in TestParseInLocation) from 'AST' to the
-numeric '+03'.
-
-Update the test so that it skips the checks if we're using a recent
-tzdata release.
-
-Fixes #19457
-
-Change-Id: I45d705a5520743a611bdd194dc8f8d618679980c
-Reviewed-on: https://go-review.googlesource.com/37964
-Reviewed-by: Ian Lance Taylor 
-Run-TryBot: Ian Lance Taylor 
-TryBot-Result: Gobot Gobot 

- src/time/format_test.go | 41 +++--
- 1 file changed, 31 insertions(+), 10 deletions(-)
-
-diff --git a/src/time/format_test.go b/src/time/format_test.go
-index 219c2ca..d0013bc 100644
 a/src/time/format_test.go
-+++ b/src/time/format_test.go
-@@ -245,27 +245,45 @@ func TestParseDayOutOfRange(t *testing.T) {
-   }
- }
- 
-+// TestParseInLocation checks that the Parse and ParseInLocation
-+// functions do not get confused by the fact that AST (Arabia Standard
-+// Time) and AST (Atlantic Standard Time) are different time zones,
-+// even though they have the same abbreviation.
-+//
-+// ICANN has been slowly phasing out invented abbreviation in favor of
-+// numeric time zones (for example, the Asia/Baghdad time zone
-+// abbreviation got changed from AST to +03 in the 2017a tzdata
-+// release); but we still want to make sure that the time package does
-+// not get confused on systems with slightly older tzdata packages.
- func TestParseInLocation(t *testing.T) {
--  // Check that Parse (and ParseInLocation) understand that
--  // Feb 01 AST (Arabia Standard Time) and Feb 01 AST (Atlantic Standard 
Time)
--  // are in different time zones even though both are called AST
- 
-   baghdad, err := LoadLocation("Asia/Baghdad")
-   if err != nil {
-   t.Fatal(err)
-   }
- 
--  t1, err := ParseInLocation("Jan 02 2006 MST", "Feb 01 2013 AST", 
baghdad)
-+  var t1, t2 Time
-+
-+  t1, err = ParseInLocation("Jan 02 2006 MST", "Feb 01 2013 AST", baghdad)
-   if err != nil {
-   t.Fatal(err)
-   }
--  t2 := Date(2013, February, 1, 00, 00, 00, 0, baghdad)
--  if t1 != t2 {
--  t.Fatalf("ParseInLocation(Feb 01 2013 AST, Baghdad) = %v, want 
%v", t1, t2)
--  }
-+
-   _, offset := t1.Zone()
--  if offset != 3*60*60 {
--  t.Fatalf("ParseInLocation(Feb 01 2013 AST, Baghdad).Zone = _, 
%d, want _, %d", offset, 3*60*60)
-+
-+  // A zero offset means that ParseInLocation did not recognize the
-+  // 'AST' abbreviation as matching the current location (Baghdad,
-+  // where we'd expect a +03 hrs offset); likely because we're using
-+  // a recent tzdata release (2017a or newer).
-+  // If it 

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

2017-01-27 Thread Alexander Rødseth
Date: Friday, January 27, 2017 @ 14:54:19
  Author: arodseth
Revision: 209252

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 209251, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 209251, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 209251, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 209251, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   12 +
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |6 
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |6 
 6 files changed, 386 insertions(+), 386 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-01-27 14:53:09 UTC (rev 209251)
+++ community-i686/PKGBUILD 2017-01-27 14:54:19 UTC (rev 209252)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.7.4
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion repositories'
-

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

2016-12-02 Thread Alexander Rødseth
Date: Friday, December 2, 2016 @ 09:43:42
  Author: arodseth
Revision: 197716

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 197715, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 197715, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 197715, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 197715, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   12 +
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 386 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-12-02 09:42:32 UTC (rev 197715)
+++ community-i686/PKGBUILD 2016-12-02 09:43:42 UTC (rev 197716)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.7.3
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion repositories'
-

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

2016-10-20 Thread Alexander Rødseth
Date: Thursday, October 20, 2016 @ 18:15:49
  Author: arodseth
Revision: 192743

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 192742, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 192742, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 192742, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 192742, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 416 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-10-20 18:15:35 UTC (rev 192742)
+++ community-i686/PKGBUILD 2016-10-20 18:15:49 UTC (rev 192743)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.7.1
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion 

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

2016-09-08 Thread Alexander Rødseth
Date: Thursday, September 8, 2016 @ 08:06:01
  Author: arodseth
Revision: 189007

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 189006, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 189006, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 189006, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 189006, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 416 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-09-08 08:04:37 UTC (rev 189006)
+++ community-i686/PKGBUILD 2016-09-08 08:06:01 UTC (rev 189007)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.7
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion 

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

2016-08-16 Thread Alexander Rødseth
Date: Tuesday, August 16, 2016 @ 09:09:46
  Author: arodseth
Revision: 186847

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 186846, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 186846, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 186846, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 186846, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 416 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-08-16 09:08:22 UTC (rev 186846)
+++ community-i686/PKGBUILD 2016-08-16 09:09:46 UTC (rev 186847)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.6.3
-pkgrel=2
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion 

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

2016-07-29 Thread Alexander Rødseth
Date: Friday, July 29, 2016 @ 17:33:55
  Author: arodseth
Revision: 184636

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 184635, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 184635, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 184635, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 184635, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 416 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-07-29 17:33:44 UTC (rev 184635)
+++ community-i686/PKGBUILD 2016-07-29 17:33:55 UTC (rev 184636)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.6.3
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion repositories'

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

2016-07-21 Thread Alexander Rødseth
Date: Thursday, July 21, 2016 @ 21:39:55
  Author: arodseth
Revision: 183676

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 183675, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 183675, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 183675, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 183675, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 -
 community-x86_64/go.install |   21 --
 6 files changed, 416 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-07-21 21:38:46 UTC (rev 183675)
+++ community-i686/PKGBUILD 2016-07-21 21:39:55 UTC (rev 183676)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.6.2
-pkgrel=2
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports guru 
html2article oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports guru html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion 

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

2016-04-23 Thread Alexander Rødseth
Date: Saturday, April 23, 2016 @ 20:42:38
  Author: arodseth
Revision: 171643

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 171642, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 171642, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 171642, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 171642, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  376 ++
 /go.install |   42 
 community-i686/PKGBUILD |  188 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  188 -
 community-x86_64/go.install |   21 --
 6 files changed, 418 insertions(+), 418 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-04-23 18:41:07 UTC (rev 171642)
+++ community-i686/PKGBUILD 2016-04-23 18:42:38 UTC (rev 171643)
@@ -1,188 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.6.1
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # bundle does not compile with 1.6
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp callgraph digraph eg fiximports html2article oracle present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching 

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

2016-04-13 Thread Alexander Rødseth
Date: Wednesday, April 13, 2016 @ 15:52:46
  Author: arodseth
Revision: 170820

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 170819, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 170819, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 170819, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 170819, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  376 ++
 /go.install |   42 
 community-i686/PKGBUILD |  188 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  188 -
 community-x86_64/go.install |   21 --
 6 files changed, 418 insertions(+), 418 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-04-13 13:44:08 UTC (rev 170819)
+++ community-i686/PKGBUILD 2016-04-13 13:52:46 UTC (rev 170820)
@@ -1,188 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-pkgver=1.6.1
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # bundle does not compile with 1.6
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp callgraph digraph eg fiximports html2article oracle present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching 

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

2016-04-13 Thread Alexander Rødseth
Date: Wednesday, April 13, 2016 @ 15:00:14
  Author: arodseth
Revision: 170817

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 170816, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 170816, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 170816, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 170816, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  376 ++
 /go.install |   42 
 community-i686/PKGBUILD |  188 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  188 -
 community-x86_64/go.install |   21 --
 6 files changed, 418 insertions(+), 418 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-04-13 12:58:48 UTC (rev 170816)
+++ community-i686/PKGBUILD 2016-04-13 13:00:14 UTC (rev 170817)
@@ -1,188 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Maintainer: 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' 'go-tools')
-epoch=2
-pkgver=1.6
-pkgrel=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # bundle does not compile with 1.6
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp callgraph digraph eg fiximports html2article oracle present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching 

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

2016-03-28 Thread Alexander Rødseth
Date: Monday, March 28, 2016 @ 11:58:32
  Author: arodseth
Revision: 168686

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 168685, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 168685, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 168685, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 168685, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  376 ++
 /go.install |   42 
 community-i686/PKGBUILD |  188 -
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  188 -
 community-x86_64/go.install |   21 --
 6 files changed, 418 insertions(+), 418 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-03-28 09:58:20 UTC (rev 168685)
+++ community-i686/PKGBUILD 2016-03-28 09:58:32 UTC (rev 168686)
@@ -1,188 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# Maintainer: Pierre Neidhardt 
-# 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' 'go-tools')
-epoch=2
-pkgver=1.6
-pkgrel=1
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # bundle does not compile with 1.6
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp callgraph digraph eg fiximports html2article oracle present 
ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from 

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

2016-02-17 Thread Alexander Rødseth
Date: Thursday, February 18, 2016 @ 08:09:31
  Author: arodseth
Revision: 162203

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 162202, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 162202, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 162202, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 162202, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  376 ++
 /go.install |   42 
 community-i686/PKGBUILD |  187 
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  187 
 community-x86_64/go.install |   21 --
 6 files changed, 418 insertions(+), 416 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-02-18 07:08:22 UTC (rev 162202)
+++ community-i686/PKGBUILD 2016-02-18 07:09:31 UTC (rev 162203)
@@ -1,187 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# Maintainer: Pierre Neidhardt 
-# 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' 'go-tools')
-epoch=2
-pkgver=1.5.3
-pkgrel=3
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources from git repositories'
-  'bzr: for fetching sources from bazaar repositories'
-  'subversion: for fetching sources from subversion repositories'
- 

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

2016-02-02 Thread Pierre Neidhardt
Date: Wednesday, February 3, 2016 @ 01:27:34
  Author: ambrevar
Revision: 160037

archrelease: copy trunk to community-testing-x86_64, community-testing-i686

Added:
  go/repos/community-testing-i686/PKGBUILD
(from rev 160036, go/trunk/PKGBUILD)
  go/repos/community-testing-i686/go.install
(from rev 160036, go/trunk/go.install)
  go/repos/community-testing-x86_64/PKGBUILD
(from rev 160036, go/trunk/PKGBUILD)
  go/repos/community-testing-x86_64/go.install
(from rev 160036, go/trunk/go.install)
Deleted:
  go/repos/community-testing-i686/PKGBUILD
  go/repos/community-testing-i686/go.install
  go/repos/community-testing-x86_64/PKGBUILD
  go/repos/community-testing-x86_64/go.install

-+
 /PKGBUILD   |  374 ++
 /go.install |   42 +++
 community-testing-i686/PKGBUILD |  186 
 community-testing-i686/go.install   |   21 -
 community-testing-x86_64/PKGBUILD   |  186 
 community-testing-x86_64/go.install |   21 -
 6 files changed, 416 insertions(+), 414 deletions(-)

Deleted: community-testing-i686/PKGBUILD
===
--- community-testing-i686/PKGBUILD 2016-02-03 00:26:18 UTC (rev 160036)
+++ community-testing-i686/PKGBUILD 2016-02-03 00:27:34 UTC (rev 160037)
@@ -1,186 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# Maintainer: Pierre Neidhardt 
-# 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' 'go-tools')
-epoch=2
-pkgver=1.5.3
-pkgrel=2
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-install="$pkgname.install"
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-_gourl=golang.org/x/tools/cmd
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms. This is not strictly required as 
the
-  # compiler can generate libraries on the fly. Prebuilding the libs speeds up
-  # crosscompilation time.
-  #
-  # for os in darwin freebsd linux windows; do
-  #   for arch in 386 amd64 arm; do
-  # export GOOS="$os"
-  # export GOARCH="$arch"
-  # bash make.bash --no-clean
-  #   done
-  # done
-
-  export GOOS=linux
-  case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 ;;
-  esac
-
-  bash make.bash --no-clean
-
-  # System-wide tools
-  for tool in godex godoc goimports gomvpkg gorename gotype; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
-  done
-
-  # Distribution tools
-  for tool in benchcmp bundle callgraph digraph eg fiximports html2article 
oracle present ssadump stress stringer ; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
-$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool 
golang.org/x/tools/cmd/$tool
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  for tool in godoc goimports gomvpkg gorename gotype \
-benchcmp bundle callgraph digraph eg fiximports html2article oracle 
present ssadump stress stringer; do
-GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
-  done
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package_go() {
-  pkgdesc='Compiler and tools for the Go programming language from Google'
-  optdepends=('mercurial: for fetching sources from mercurial repositories'
-  'git: for fetching sources 

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

2016-01-13 Thread Alexander Rødseth
Date: Thursday, January 14, 2016 @ 01:08:04
  Author: arodseth
Revision: 156342

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 156341, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 156341, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 156341, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 156341, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  290 ++
 /go.install |   42 ++
 community-i686/PKGBUILD |  145 -
 community-i686/go.install   |   21 ---
 community-x86_64/PKGBUILD   |  145 -
 community-x86_64/go.install |   21 ---
 6 files changed, 332 insertions(+), 332 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-01-14 00:06:38 UTC (rev 156341)
+++ community-i686/PKGBUILD 2016-01-14 00:08:04 UTC (rev 156342)
@@ -1,145 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# Contributor: Rémy Oudompheng  
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-# Contributor: Pierre Neidhardt 
-
-pkgname=go
-epoch=2
-pkgver=1.5.2
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install="$pkgname.install"
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64; do # 386 arm; do
-  export GOOS="$os"
-  export GOARCH="$arch"
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover callgraph; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
-
-  install -Dm644 LICENSE \
-"$pkgdir/usr/share/licenses/go/LICENSE"
-
-  mkdir -p \
-"$pkgdir/usr/"{share/go,lib/go,lib/go/src,lib/go/site/src}
-
-  cp -r doc misc -t "$pkgdir/usr/share/go"
-  ln -s /usr/share/go/doc "$pkgdir/usr/lib/go/doc"
-  cp -a bin "$pkgdir/usr"
-  cp -a pkg "$pkgdir/usr/lib/go"
-  cp -a "$GOROOT/src" "$pkgdir/usr/lib/go/"
-  cp -a "$GOROOT/lib" "$pkgdir/usr/lib/go/"
-
-  # This is to make go get 

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

2015-12-03 Thread Alexander Rødseth
Date: Thursday, December 3, 2015 @ 23:44:50
  Author: arodseth
Revision: 148248

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 148247, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 148247, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 148247, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 148247, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  290 ++
 /go.install |   42 ++
 community-i686/PKGBUILD |  145 -
 community-i686/go.install   |   21 ---
 community-x86_64/PKGBUILD   |  145 -
 community-x86_64/go.install |   21 ---
 6 files changed, 332 insertions(+), 332 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-12-03 22:44:38 UTC (rev 148247)
+++ community-i686/PKGBUILD 2015-12-03 22:44:50 UTC (rev 148248)
@@ -1,145 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# Contributor: Rémy Oudompheng  
-# Contributor: Andres Perera 
-# Contributor: Matthew Bauer 
-# Contributor: Christian Himpel 
-# Contributor: Mike Rosset 
-# Contributor: Daniel YC Lin 
-# Contributor: John Luebs 
-# Contributor: Pierre Neidhardt 
-
-pkgname=go
-epoch=2
-pkgver=1.5.1
-pkgrel=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'go')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install="$pkgname.install"
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64; do # 386 arm; do
-  export GOOS="$os"
-  export GOARCH="$arch"
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover callgraph; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
-
-  install -Dm644 LICENSE \
-"$pkgdir/usr/share/licenses/go/LICENSE"
-
-  mkdir -p \
-"$pkgdir/usr/"{share/go,lib/go,lib/go/src,lib/go/site/src}
-
-  cp -r doc misc -t "$pkgdir/usr/share/go"
-  ln -s /usr/share/go/doc "$pkgdir/usr/lib/go/doc"
-  cp -a bin "$pkgdir/usr"
-  cp -a pkg "$pkgdir/usr/lib/go"
-  cp -a "$GOROOT/src" "$pkgdir/usr/lib/go/"
-  cp -a "$GOROOT/lib" "$pkgdir/usr/lib/go/"
-
-  # This is to make go get 

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

2015-09-12 Thread Alexander Rødseth
Date: Saturday, September 12, 2015 @ 14:53:01
  Author: arodseth
Revision: 139965

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 139964, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 139964, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 139964, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 139964, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  290 ++
 /go.install |   42 ++
 community-i686/PKGBUILD |  166 
 community-i686/go.install   |   21 ---
 community-x86_64/PKGBUILD   |  143 
 community-x86_64/go.install |   21 ---
 6 files changed, 332 insertions(+), 351 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-09-12 12:52:47 UTC (rev 139964)
+++ community-i686/PKGBUILD 2015-09-12 12:53:01 UTC (rev 139965)
@@ -1,166 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# Maintainer: Alexander Rødseth 
-# 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.5
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'mercurial' 'go')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install="$pkgname.install"
-source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd "$pkgname-$pkgver/src"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-  export GOROOT_FINAL=/usr/lib/go
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS="$os"
-  export GOARCH="$arch"
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case "$CARCH" in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover callgraph; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-
-  #export GO386=387
-
-  export GOOS=linux
-  if [ "$CARCH" == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ "$CARCH" == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src && bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  export GOROOT="$srcdir/$pkgname-$pkgver"
-  export GOBIN="$GOROOT/bin"
-  export GOROOT_BOOTSTRAP=/usr/lib/go
-
-  install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
-
-  install -Dm644 LICENSE \
-"$pkgdir/usr/share/licenses/go/LICENSE"
-
-  mkdir -p \
-"$pkgdir/"{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t "$pkgdir/usr/share/go"
-  ln -s /usr/share/go/doc "$pkgdir/usr/lib/go/doc"
-  cp -a bin "$pkgdir/usr"
-  cp -a pkg "$pkgdir/usr/lib/go"
-  cp -a 

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

2015-08-20 Thread Alexander Rødseth
Date: Thursday, August 20, 2015 @ 17:47:56
  Author: arodseth
Revision: 138559

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 138558, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 138558, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 138558, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 138558, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  332 ++
 /go.install |   42 +
 community-i686/PKGBUILD |  163 
 community-i686/go.install   |   21 --
 community-x86_64/PKGBUILD   |  163 
 community-x86_64/go.install |   21 --
 6 files changed, 374 insertions(+), 368 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-08-20 15:46:29 UTC (rev 138558)
+++ community-i686/PKGBUILD 2015-08-20 15:47:56 UTC (rev 138559)
@@ -1,163 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.4.2
-pkgrel=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover callgraph; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  #export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src $pkgdir/usr/lib/go/
-  cp -a $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd
-  cp -a $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/lib $pkgdir/usr/lib/go/
-  cp -a 

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

2015-03-24 Thread Alexander Rødseth
Date: Tuesday, March 24, 2015 @ 17:43:49
  Author: arodseth
Revision: 129853

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 129852, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 129852, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 129852, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 129852, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  326 ++
 /go.install |   42 +
 community-i686/PKGBUILD |  163 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  163 -
 community-x86_64/go.install |   15 -
 6 files changed, 368 insertions(+), 356 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-03-24 16:43:33 UTC (rev 129852)
+++ community-i686/PKGBUILD 2015-03-24 16:43:49 UTC (rev 129853)
@@ -1,163 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.4.2
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  #export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src $pkgdir/usr/lib/go/
-  cp -a $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd
-  cp -a $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/lib $pkgdir/usr/lib/go/
-  cp -a $GOROOT/include 

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

2015-02-18 Thread Alexander Rødseth
Date: Wednesday, February 18, 2015 @ 15:49:44
  Author: arodseth
Revision: 127916

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 127912, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 127912, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 127912, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 127912, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  326 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  163 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  163 -
 community-x86_64/go.install |   15 -
 6 files changed, 356 insertions(+), 356 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-02-18 14:48:46 UTC (rev 127915)
+++ community-i686/PKGBUILD 2015-02-18 14:49:44 UTC (rev 127916)
@@ -1,163 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.4.1
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-makedepends=('inetutils' 'git' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled,
-  # so I am also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-  #
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  #export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src $pkgdir/usr/lib/go/
-  cp -a $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd
-  cp -a $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/lib $pkgdir/usr/lib/go/
-  cp -a $GOROOT/include 

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

2015-01-17 Thread Alexander Rødseth
Date: Sunday, January 18, 2015 @ 01:39:29
  Author: arodseth
Revision: 126054

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 126053, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 126053, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 126053, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 126053, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  326 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  163 -
 community-i686/go.install   |   23 --
 community-x86_64/PKGBUILD   |  163 -
 community-x86_64/go.install |   23 --
 6 files changed, 356 insertions(+), 372 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-01-18 00:37:55 UTC (rev 126053)
+++ community-i686/PKGBUILD 2015-01-18 00:39:29 UTC (rev 126054)
@@ -1,163 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.4
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial' 'git')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled, so I am
-  # also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d golang.org/x/tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
golang.org/x/tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src $pkgdir/usr/lib/go/
-  cp -a $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd
-  cp -a $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/lib $pkgdir/usr/lib/go/
-  cp 

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

2014-12-11 Thread Alexander Rødseth
Date: Thursday, December 11, 2014 @ 23:35:23
  Author: arodseth
Revision: 123795

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 123794, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 123794, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 123794, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 123794, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  326 ++
 /go.install |   46 +
 community-i686/PKGBUILD |  178 --
 community-i686/go.install   |   22 --
 community-x86_64/PKGBUILD   |  178 --
 community-x86_64/go.install |   22 --
 6 files changed, 372 insertions(+), 400 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-12-11 22:35:08 UTC (rev 123794)
+++ community-i686/PKGBUILD 2014-12-11 22:35:23 UTC (rev 123795)
@@ -1,178 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3.3
-pkgrel=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled, so I am
-  # also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim 

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

2014-11-07 Thread Alexander Rødseth
Date: Friday, November 7, 2014 @ 10:38:20
  Author: arodseth
Revision: 122139

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 122138, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 122138, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 122138, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 122138, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  356 ++
 /go.install |   44 +
 community-i686/PKGBUILD |  173 
 community-i686/go.install   |   22 --
 community-x86_64/PKGBUILD   |  173 
 community-x86_64/go.install |   22 --
 6 files changed, 400 insertions(+), 390 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-11-07 09:38:09 UTC (rev 122138)
+++ community-i686/PKGBUILD 2014-11-07 09:38:20 UTC (rev 122139)
@@ -1,173 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3.3
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled, so I am
-  # also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim 

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

2014-10-01 Thread Alexander Rødseth
Date: Wednesday, October 1, 2014 @ 10:37:08
  Author: arodseth
Revision: 119932

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 119931, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 119931, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 119931, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 119931, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  346 ++
 /go.install |   44 +
 community-i686/PKGBUILD |  165 
 community-i686/go.install   |   22 --
 community-x86_64/PKGBUILD   |  165 
 community-x86_64/go.install |   22 --
 6 files changed, 390 insertions(+), 374 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-10-01 08:36:57 UTC (rev 119931)
+++ community-i686/PKGBUILD 2014-10-01 08:37:08 UTC (rev 119932)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  #
-  # This line selects the slow and compatible version.
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-

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

2014-10-01 Thread Alexander Rødseth
Date: Wednesday, October 1, 2014 @ 13:45:13
  Author: arodseth
Revision: 119965

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 119964, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 119964, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 119964, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 119964, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  346 ++
 /go.install |   44 +
 community-i686/PKGBUILD |  173 -
 community-i686/go.install   |   22 --
 community-x86_64/PKGBUILD   |  173 -
 community-x86_64/go.install |   22 --
 6 files changed, 390 insertions(+), 390 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-10-01 11:45:03 UTC (rev 119964)
+++ community-i686/PKGBUILD 2014-10-01 11:45:13 UTC (rev 119965)
@@ -1,173 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3.2
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
-  #
-  # However, exceptions are made for:
-  #  * Chromium, which is not expected to be used on older i686 CPUs
-  #  * Julia, which requires SSE2
-  #
-  # Go is so slow that it is unusable on i686 when SSE2 is not enabled, so I am
-  # also making an exception for Go.
-  #
-  # If you really want to build Go without SSE2 support, just uncomment the
-  # following export and rebuild:
-  #
-  # export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim 

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

2014-08-27 Thread Alexander Rødseth
Date: Wednesday, August 27, 2014 @ 20:18:59
  Author: arodseth
Revision: 117978

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 117977, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 117977, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 117977, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 117977, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  330 ++
 /go.install |   44 +
 community-i686/PKGBUILD |  165 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  165 -
 community-x86_64/go.install |   15 -
 6 files changed, 374 insertions(+), 360 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-08-27 17:36:55 UTC (rev 117977)
+++ community-i686/PKGBUILD 2014-08-27 18:18:59 UTC (rev 117978)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3.1
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('BSD')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  #
-  # This line selects the slow and compatible version.
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-

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

2014-08-13 Thread Alexander Rødseth
Date: Wednesday, August 13, 2014 @ 17:49:08
  Author: arodseth
Revision: 117371

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 117370, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 117370, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 117370, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 117370, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  330 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  165 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  165 -
 community-x86_64/go.install |   15 -
 6 files changed, 360 insertions(+), 360 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-08-13 15:47:42 UTC (rev 117370)
+++ community-i686/PKGBUILD 2014-08-13 15:49:08 UTC (rev 117371)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.3
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  #
-  # This line selects the slow and compatible version.
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-

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

2014-06-19 Thread Alexander Rødseth
Date: Thursday, June 19, 2014 @ 23:46:10
  Author: arodseth
Revision: 113369

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 113368, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 113368, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 113368, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 113368, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  330 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  165 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  165 -
 community-x86_64/go.install |   15 -
 6 files changed, 360 insertions(+), 360 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-06-19 21:45:59 UTC (rev 113368)
+++ community-i686/PKGBUILD 2014-06-19 21:46:10 UTC (rev 113369)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.2.2
-pkgrel=1
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver;)
-md5sums=('SKIP')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver/src
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  #
-  # This line selects the slow and compatible version.
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export GOBIN=$GOROOT/bin
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-

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

2014-05-13 Thread Alexander Rødseth
Date: Tuesday, May 13, 2014 @ 13:01:57
  Author: arodseth
Revision: 111080

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 111079, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 111079, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 111079, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 111079, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  330 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  161 
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  161 
 community-x86_64/go.install |   15 -
 6 files changed, 360 insertions(+), 352 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-05-13 11:01:45 UTC (rev 111079)
+++ community-i686/PKGBUILD 2014-05-13 11:01:57 UTC (rev 111080)
@@ -1,161 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.2.1
-pkgrel=5
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'subversion: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1};)
-md5sums=('SKIP')
-
-build() {
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  cd $GOROOT/src
-
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  #
-  # This line selects the slow and compatible version.
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export GOROOT=$srcdir/$pkgname-$pkgver
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s 

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

2014-04-22 Thread Alexander Rødseth
Date: Tuesday, April 22, 2014 @ 22:02:26
  Author: arodseth
Revision: 109996

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 109995, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 109995, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 109995, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 109995, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  322 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  161 -
 community-i686/go.install   |   15 -
 community-x86_64/PKGBUILD   |  161 -
 community-x86_64/go.install |   15 -
 6 files changed, 352 insertions(+), 352 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-04-22 20:02:11 UTC (rev 109995)
+++ community-i686/PKGBUILD 2014-04-22 20:02:26 UTC (rev 109996)
@@ -1,161 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.2.1
-pkgrel=4
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('mercurial: for fetching sources from mercurial repositories'
-'git: for fetching sources from git repositories'
-'bzr: for fetching sources from bazaar repositories'
-'svn: for fetching sources from subversion repositories')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1};)
-md5sums=('SKIP')
-
-build() {
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  cd $GOROOT/src
-
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (to support older CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  # This line disables it.
-  #
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export GOROOT=$srcdir/$pkgname-$pkgver
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc 

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

2014-03-26 Thread Alexander Rødseth
Date: Wednesday, March 26, 2014 @ 10:53:48
  Author: arodseth
Revision: 108291

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 108290, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 108290, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 108290, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 108290, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  322 ++
 /go.install |   30 +++
 community-i686/PKGBUILD |  162 -
 community-i686/go.install   |   13 -
 community-x86_64/PKGBUILD   |  161 -
 community-x86_64/go.install |   15 -
 6 files changed, 352 insertions(+), 351 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-03-26 09:45:53 UTC (rev 108290)
+++ community-i686/PKGBUILD 2014-03-26 09:53:48 UTC (rev 108291)
@@ -1,162 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.2.1
-pkgrel=3
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('liteide: IDE for editing and building projects written in Go'
-'mercurial: scalable distributed SCM tool'
-'git: fast distributed version control system'
-'bzr: decentralized revision control system'
-'svn: concurrent version control system')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1};)
-md5sums=('SKIP')
-
-build() {
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  cd $GOROOT/src
-
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (to support older CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  # This line disables it.
-  #
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export GOROOT=$srcdir/$pkgname-$pkgver
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s 

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

2014-03-24 Thread Alexander Rødseth
Date: Monday, March 24, 2014 @ 21:35:53
  Author: arodseth
Revision: 108208

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 108207, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 108207, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 108207, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 108207, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  324 ++
 /go.install |   26 +++
 community-i686/PKGBUILD |  160 
 community-i686/go.install   |   13 -
 community-x86_64/PKGBUILD   |  160 
 community-x86_64/go.install |   13 -
 6 files changed, 350 insertions(+), 346 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-03-24 20:26:38 UTC (rev 108207)
+++ community-i686/PKGBUILD 2014-03-24 20:35:53 UTC (rev 108208)
@@ -1,160 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-# Contributor: John Luebs jklu...@gmail.com
-
-pkgname=go
-epoch=2
-pkgver=1.2.1
-pkgrel=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('liteide: IDE for editing and building projects written in Go'
-'mercurial: VCS written in Python'
-'git: VCS written in C')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1};)
-md5sums=('SKIP')
-
-build() {
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  cd $GOROOT/src
-
-  export GOPATH=$srcdir/
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (to support older CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  # This line disables it.
-  #
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  GOOS=linux
-  case $CARCH in
-x86_64) GOARCH=amd64 ;;
-i686) GOARCH=386 ;;
-  esac
-
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc
-  $GOROOT/bin/go build -o $srcdir/godoc code.google.com/p/go.tools/cmd/godoc
-  for tool in vet cover; do
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${tool}
-$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} 
code.google.com/p/go.tools/cmd/${tool}
-  done
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export GOROOT=$srcdir/$pkgname-$pkgver
-
-  install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src/pkg $pkgdir/usr/lib/go/src/
-  cp -a 

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

2014-03-21 Thread Alexander Rødseth
Date: Saturday, March 22, 2014 @ 02:23:54
  Author: arodseth
Revision: 108061

archrelease: copy trunk to community-x86_64, community-i686

Added:
  go/repos/community-i686/PKGBUILD
(from rev 108060, go/trunk/PKGBUILD)
  go/repos/community-i686/go.install
(from rev 108060, go/trunk/go.install)
  go/repos/community-x86_64/PKGBUILD
(from rev 108060, go/trunk/PKGBUILD)
  go/repos/community-x86_64/go.install
(from rev 108060, go/trunk/go.install)
Deleted:
  go/repos/community-i686/PKGBUILD
  go/repos/community-i686/go.install
  go/repos/community-x86_64/PKGBUILD
  go/repos/community-x86_64/go.install

-+
 /PKGBUILD   |  320 ++
 /go.install |   26 +++
 community-i686/PKGBUILD |  144 --
 community-i686/go.install   |   13 -
 community-x86_64/PKGBUILD   |  144 --
 community-x86_64/go.install |   13 -
 6 files changed, 346 insertions(+), 314 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-03-22 01:23:36 UTC (rev 108060)
+++ community-i686/PKGBUILD 2014-03-22 01:23:54 UTC (rev 108061)
@@ -1,144 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta ve...@iki.fi
-# Maintainer: Alexander Rødseth rods...@gmail.com
-# Contributor: Rémy Oudompheng  r...@archlinux.org
-# Contributor: Andres Perera andres87p gmail
-# Contributor: Matthew Bauer mjbaue...@gmail.com
-# Contributor: Christian Himpel chres...@gmail.com
-# Contributor: Mike Rosset mike.ros...@gmail.com
-# Contributor: Daniel YC Lin dlin...@gmail.com
-
-pkgname=go
-pkgver=1.2.1
-pkgrel=1
-epoch=2
-pkgdesc='Compiler and tools for the Go programming language from Google'
-arch=('x86_64' 'i686')
-url='http://golang.org/'
-license=('custom')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial')
-options=('!strip' 'staticlibs')
-optdepends=('liteide: IDE for editing and building projects written in Go'
-'mercurial: VCS written in Python'
-'git: VCS written in C')
-install=$pkgname.install
-source=($pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1};)
-md5sums=('SKIP')
-
-build() {
-  cd $pkgname-$pkgver/src
-
-  export GOROOT_FINAL=/usr/lib/go
-
-  #
-  # Arch Linux doesn't support SSE2 for i686 (to support older CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
-  # This line disables it.
-  #
-  export GO386=387
-
-  # Enable ARM crosscompilation for linux
-  export GOOS=linux
-  export GOARCH=arm
-
-  bash make.bash
-
-  # Crosscompilation for various platforms (including linux)
-  for os in linux; do # darwin freebsd windows; do
-for arch in amd64 386; do
-  export GOOS=$os
-  export GOARCH=$arch
-  bash make.bash --no-clean
-done
-  done
-
-  # TODO: Find a way to install these tools as well:
-  #go get code.google.com/p/go.tools/cmd/...
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  export GO386=387
-
-  export GOOS=linux
-  if [ $CARCH == 'x86_64' ]; then
-export GOARCH=amd64
-  elif [ $CARCH == 'i686' ]; then
-export GOARCH=386
-  fi
-
-  export GOROOT=$srcdir/$pkgname-$pkgver
-  export PATH=$srcdir/$pkgname-$pkgver/bin:$PATH
-
-  # TestSimpleMulticastListener will fail in standard chroot
-  cd src  bash run.bash --no-rebuild || true
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  install -Dm644 LICENSE \
-$pkgdir/usr/share/licenses/go/LICENSE
-  install -Dm644 misc/bash/go \
-$pkgdir/usr/share/bash-completion/completions/go
-  install -Dm644 misc/emacs/go-mode-load.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
-  install -Dm644 misc/emacs/go-mode.el \
-$pkgdir/usr/share/emacs/site-lisp/go-mode.el
-  install -Dm644 misc/zsh/go \
-$pkgdir/usr/share/zsh/site-functions/_go
-
-  for f in ftdetect/gofiletype.vim autoload/go/complete.vim indent/go.vim \
-ftplugin/go/fmt.vim ftplugin/go/import.vim syntax/go.vim syntax/godoc.vim \
-plugin/godoc.vim;
-  do
-install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
-  done
-
-  mkdir -p \
-$pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
-
-  cp -r doc misc -t $pkgdir/usr/share/go
-  ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
-  cp -a bin $pkgdir/usr
-  cp -a pkg $pkgdir/usr/lib/go
-  cp -a $GOROOT/src/pkg $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd
-  cp -a $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
-  cp -a $GOROOT/lib $pkgdir/usr/lib/go/
-  cp -a $GOROOT/include $pkgdir/usr/lib/go/
-
-  install -Dm644 src/Make.* $pkgdir/usr/lib/go/src
-
-  # Remove object files from target src dir
-  find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete
-
-  # Fix for FS#32813
-  find $pkgdir -type f -name sql.go -exec chmod -x {} \;
-  
-  # Remove all executable source files
-  find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete
-
-  # Headers for C