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

2017-02-16 Thread Alexander Rødseth
Date: Thursday, February 16, 2017 @ 23:48:04
  Author: arodseth
Revision: 212670

upgpkg: go 2:1.8-1

Modified:
  go/trunk/PKGBUILD
Deleted:
  go/trunk/go.install

+
 PKGBUILD   |5 ++---
 go.install |6 --
 2 files changed, 2 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-16 23:39:07 UTC (rev 212669)
+++ PKGBUILD2017-02-16 23:48:04 UTC (rev 212670)
@@ -11,9 +11,9 @@
 # Contributor: John Luebs 
 
 pkgname=('go' 'go-tools')
-pkgver=1.7.5
+epoch=2
+pkgver=1.8
 pkgrel=1
-epoch=2
 arch=('x86_64' 'i686')
 url='http://golang.org/'
 license=('BSD')
@@ -113,7 +113,6 @@
   'bzr: for fetching sources from bazaar repositories'
   'subversion: for fetching sources from subversion repositories'
   'go-tools: doc, goimports, gorename, and other tools.')
-  install="$pkgname.install"
 
   cd "$pkgname-$pkgver"
 

Deleted: go.install
===
--- go.install  2017-02-16 23:39:07 UTC (rev 212669)
+++ go.install  2017-02-16 23:48:04 UTC (rev 212670)
@@ -1,6 +0,0 @@
-post_upgrade() {
-  # Fixes FS#41561 and FS#44099
-  go install std 2> /dev/null || return 0
-}
-
-# vim:set ts=2 sw=2 et:


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

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

upgpkg: go 2:1.7.4-1

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |4 ++--
 go.install |   17 +
 2 files changed, 3 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-02 09:42:03 UTC (rev 197714)
+++ PKGBUILD2016-12-02 09:42:32 UTC (rev 197715)
@@ -11,7 +11,7 @@
 # Contributor: John Luebs 
 
 pkgname=('go' 'go-tools')
-pkgver=1.7.3
+pkgver=1.7.4
 pkgrel=1
 epoch=2
 arch=('x86_64' 'i686')
@@ -160,7 +160,7 @@
 
 package_go-tools() {
   pkgdesc='Developer tools for the Go programming language (includes godoc)'
-  depends=('go>2:1.5.3-1')
+  depends=('go')
 
   GOOS=linux
   case "$CARCH" in

Modified: go.install
===
--- go.install  2016-12-02 09:42:03 UTC (rev 197714)
+++ go.install  2016-12-02 09:42:32 UTC (rev 197715)
@@ -1,20 +1,5 @@
-post_install() {
-  # Friendly message for new users
-  echo
-  echo 'The "liteide" package provides an IDE for editing and building Go 
projects.'
-  echo
-  echo 'Example use of the "go" tool:'
-  echo
-  echo 'mkdir ~/go'
-  echo 'export GOPATH=~/go'
-  echo 'export PATH=$PATH:~/go/bin'
-  echo 'go get golang.org/x/tour/gotour'
-  echo
-  post_upgrade
-}
-
 post_upgrade() {
-  # This is needed to avoid problems like FS#41561 and FS#44099
+  # Fixes FS#41561 and FS#44099
   go install std 2> /dev/null || return 0
 }
 


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

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

upgpkg: go 2:1.4.2-2

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |6 +++---
 go.install |8 +++-
 2 files changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-24 15:50:17 UTC (rev 129851)
+++ PKGBUILD2015-03-24 16:43:33 UTC (rev 129852)
@@ -12,7 +12,7 @@
 pkgname=go
 epoch=2
 pkgver=1.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')
 url='http://golang.org/'
@@ -74,7 +74,7 @@
 
   $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
+  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
@@ -131,7 +131,7 @@
 
   # 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 -type f -executable -delete
 

Modified: go.install
===
--- go.install  2015-03-24 15:50:17 UTC (rev 129851)
+++ go.install  2015-03-24 16:43:33 UTC (rev 129852)
@@ -8,8 +8,14 @@
   echo 'mkdir ~/go'
   echo 'export GOPATH=~/go'
   echo 'export PATH=$PATH:~/go/bin'
-  echo 'go get code.google.com/p/go-tour/gotour'
+  echo 'go get golang.org/x/tour/gotour'
   echo
+  post_upgrade
 }
 
+post_upgrade() {
+  # This is needed to avoid problems like FS#41561 and FS#44099
+  go install std 2 /dev/null || return 0
+}
+
 # vim:set ts=2 sw=2 et:


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

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

upgpkg: go 2:1.4-1

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |   41 +
 go.install |9 +
 2 files changed, 18 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-11 20:58:39 UTC (rev 123793)
+++ PKGBUILD2014-12-11 22:35:08 UTC (rev 123794)
@@ -11,14 +11,14 @@
 
 pkgname=go
 epoch=2
-pkgver=1.3.3
-pkgrel=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')
+makedepends=('inetutils' 'mercurial' 'git')
 options=('!strip' 'staticlibs')
 optdepends=('mercurial: for fetching sources from mercurial repositories'
 'git: for fetching sources from git repositories'
@@ -72,11 +72,11 @@
 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
+  $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 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}
+$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
 }
 
@@ -110,22 +110,7 @@
 
   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}}
 
@@ -133,7 +118,7 @@
   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 $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/
@@ -148,13 +133,13 @@
   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
+  find $pkgdir/usr/lib/go/src -type f -executable -delete
 
   # Headers for C modules
-  install -Dm644 src/pkg/runtime/runtime.h \
-$pkgdir/usr/lib/go/src/pkg/runtime/runtime.h
-  install -Dm644 src/pkg/runtime/cgocall.h \
-$pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h
+  install -Dm644 src/runtime/runtime.h \
+$pkgdir/usr/lib/go/src/runtime/runtime.h
+  install -Dm644 src/runtime/cgocall.h \
+$pkgdir/usr/lib/go/src/runtime/cgocall.h
 
   # This is to make go get code.google.com/p/go-tour/gotour and
   # then running the gotour executable work out of the box.

Modified: go.install
===
--- go.install  2014-12-11 20:58:39 UTC (rev 123793)
+++ go.install  2014-12-11 22:35:08 UTC (rev 123794)
@@ -10,13 +10,14 @@
   echo 'export PATH=$PATH:~/go/bin'
   echo 'go get code.google.com/p/go-tour/gotour'
   echo
-  
-  post_upgrade
 }
 
 post_upgrade() {
-  # See FS#41561
-  go install std 
+  echo
+  echo 'Shell and editor configuration has been removed from the go'
+  echo 'package for the 1.4 release. For more information, see:'
+  echo 'https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins'
+  echo
 }
 
 # vim:set ts=2 sw=2 et:


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

2014-08-27 Thread Alexander Rødseth
Date: Wednesday, August 27, 2014 @ 09:17:51
  Author: arodseth
Revision: 117952

Fix for FS#41561

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |2 +-
 go.install |7 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-27 06:57:53 UTC (rev 117951)
+++ PKGBUILD2014-08-27 07:17:51 UTC (rev 117952)
@@ -12,7 +12,7 @@
 pkgname=go
 epoch=2
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')
 url='http://golang.org/'

Modified: go.install
===
--- go.install  2014-08-27 06:57:53 UTC (rev 117951)
+++ go.install  2014-08-27 07:17:51 UTC (rev 117952)
@@ -10,6 +10,13 @@
   echo 'export PATH=$PATH:~/go/bin'
   echo 'go get code.google.com/p/go-tour/gotour'
   echo
+  
+  post_upgrade
 }
 
+post_upgrade() {
+  # See FS#41561
+  go install std 
+}
+
 # vim:set ts=2 sw=2 et:



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

2014-02-19 Thread Alexander Rødseth
Date: Wednesday, February 19, 2014 @ 11:06:58
  Author: arodseth
Revision: 105912

Added dependency on go-tools,

since the go tools seems to rely on ie vet.

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |4 ++--
 go.install |   13 -
 2 files changed, 2 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-19 08:50:20 UTC (rev 105911)
+++ PKGBUILD2014-02-19 10:06:58 UTC (rev 105912)
@@ -16,7 +16,7 @@
 arch=('x86_64' 'i686')
 url='http://golang.org/'
 license=('custom')
-depends=('perl' 'gawk')
+depends=('perl' 'gawk' 'go-tools')
 makedepends=('inetutils')
 options=('!strip' 'staticlibs')
 optdepends=('liteide: IDE for editing and building projects written in Go'
@@ -135,7 +135,7 @@
   install -Dm644 src/pkg/runtime/cgocall.h \
 $pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h
 
-  # In order to make godoc work, see FS#38597
+  # Set GOROOT in order to make godoc work, see FS#38597
   install -Dm755 $srcdir/$pkgname.sh $pkgdir/etc/profile.d/$pkgname.sh
 
   # This is to make go get code.google.com/p/go-tour/gotour and

Modified: go.install
===
--- go.install  2014-02-19 08:50:20 UTC (rev 105911)
+++ go.install  2014-02-19 10:06:58 UTC (rev 105912)
@@ -8,19 +8,6 @@
   echo 'export PATH=$PATH:~/go/bin'
   echo 'go get code.google.com/p/go-tour/gotour'
   echo
-  echo 'For adding useful go tools:'
-  echo
-  echo 'go get code.google.com/p/go.tools/cmd/benchcmp'
-  echo 'go get code.google.com/p/go.tools/cmd/cover'
-  echo 'go get code.google.com/p/go.tools/cmd/godoc'
-  echo 'go get code.google.com/p/go.tools/cmd/goimports'
-  echo 'go get code.google.com/p/go.tools/cmd/gotype'
-  echo 'go get code.google.com/p/go.tools/cmd/html2article'
-  echo 'go get code.google.com/p/go.tools/cmd/ssadump'
-  echo 'go get code.google.com/p/go.tools/cmd/vet'
-  echo
-  echo '#go-nuts at irc.freenode.net may provide more answers.'
-  echo
 }
 
 # vim:set ts=2 sw=2 et:



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

2014-02-18 Thread Alexander Rødseth
Date: Wednesday, February 19, 2014 @ 00:59:35
  Author: arodseth
Revision: 105905

upgpkg: go 2:1.2-3

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |   14 +++---
 go.install |   13 +
 2 files changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-18 19:29:43 UTC (rev 105904)
+++ PKGBUILD2014-02-18 23:59:35 UTC (rev 105905)
@@ -19,7 +19,9 @@
 depends=('perl' 'gawk')
 makedepends=('inetutils')
 options=('!strip' 'staticlibs')
-optdepends=('liteide: IDE for editing and building projects written in Go')
+optdepends=('liteide: IDE for editing and building projects written in Go'
+'mercurial: Version control system written in Python'
+'git: Version control system written in C')
 install=$pkgname.install
 backup=('usr/lib/go/bin')
 
@@ -148,16 +150,6 @@
   install -Dm644 VERSION $pkgdir/usr/lib/go/VERSION
 
   find $pkgdir/usr/{lib/go/pkg,bin} -type f -exec touch '{}' +
-
-  # Adding useful go tools (FS#38860)
-  go get code.google.com/p/go.tools/cmd/benchcmp
-  go get code.google.com/p/go.tools/cmd/cover
-  go get code.google.com/p/go.tools/cmd/godoc
-  go get code.google.com/p/go.tools/cmd/goimports
-  go get code.google.com/p/go.tools/cmd/gotype
-  go get code.google.com/p/go.tools/cmd/html2article
-  go get code.google.com/p/go.tools/cmd/ssadump
-  go get code.google.com/p/go.tools/cmd/vet
 }
 
 # vim:set ts=2 sw=2 et:

Modified: go.install
===
--- go.install  2014-02-18 19:29:43 UTC (rev 105904)
+++ go.install  2014-02-18 23:59:35 UTC (rev 105905)
@@ -8,6 +8,19 @@
   echo 'export PATH=$PATH:~/go/bin'
   echo 'go get code.google.com/p/go-tour/gotour'
   echo
+  echo 'For adding useful go tools:'
+  echo
+  echo 'go get code.google.com/p/go.tools/cmd/benchcmp'
+  echo 'go get code.google.com/p/go.tools/cmd/cover'
+  echo 'go get code.google.com/p/go.tools/cmd/godoc'
+  echo 'go get code.google.com/p/go.tools/cmd/goimports'
+  echo 'go get code.google.com/p/go.tools/cmd/gotype'
+  echo 'go get code.google.com/p/go.tools/cmd/html2article'
+  echo 'go get code.google.com/p/go.tools/cmd/ssadump'
+  echo 'go get code.google.com/p/go.tools/cmd/vet'
+  echo
+  echo '#go-nuts at irc.freenode.net may provide more answers.'
+  echo
 }
 
 # vim:set ts=2 sw=2 et:



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

2014-01-27 Thread Alexander Rødseth
Date: Monday, January 27, 2014 @ 17:24:28
  Author: arodseth
Revision: 104858

upgpkg: go 2:1.2-2, fix for FS#38597

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install
Deleted:
  go/trunk/go.sh

+
 PKGBUILD   |   24 
 go.install |   13 -
 go.sh  |1 -
 3 files changed, 16 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-27 16:23:54 UTC (rev 104857)
+++ PKGBUILD2014-01-27 16:24:28 UTC (rev 104858)
@@ -10,7 +10,7 @@
 
 pkgname=go
 pkgver=1.2
-pkgrel=1
+pkgrel=2
 epoch=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')
@@ -24,15 +24,11 @@
 backup=('usr/lib/go/bin')
 
 if [ $CARCH == 'x86_64' ]; then
-  source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz;
-  $pkgname.sh)
-  
sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2'
-  
'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
+  
source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz;)
+  
sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2')
 else
-  source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz;
-  $pkgname.sh)
-  
sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651'
-  
'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
+  source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz;)
+  
sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651')
 fi
 
 build() {
@@ -41,11 +37,10 @@
   export GOROOT_FINAL=/usr/lib/go
 
   #
-  # Arch Linux doesn't support SSE2 for i686.
+  # 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.
   #
-  # Use go-sse2 from AUR if you have am i686 CPU that supports SSE2.
-  # It is highly likely that it does, and the SSE2 version is _a lot_ faster.
-  #
   export GO386=387
 
   # Enable ARM crosscompilation for linux
@@ -134,9 +129,6 @@
   install -Dm644 src/pkg/runtime/cgocall.h \
 $pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h
 
-  # For packages that source /etc/profile.d/go.sh
-  install -Dm755 $srcdir/$pkgname.sh $pkgdir/etc/profile.d/$pkgname.sh
-
   # This is to make go get code.google.com/p/go-tour/gotour and
   # then running the gotour executable work out of the box.
   ln -sf /usr/bin $pkgdir/usr/lib/go/bin

Modified: go.install
===
--- go.install  2014-01-27 16:23:54 UTC (rev 104857)
+++ go.install  2014-01-27 16:24:28 UTC (rev 104858)
@@ -1,10 +1,13 @@
 post_install() {
   # Friendly message for new users
-  echo Example use of the \go\ tool:
-  echo 'mkdir ~/mygoproject'
-  echo 'export GOPATH=~/mygoproject'
-  echo 'export PATH=\$PATH:\$GOPATH/bin'
-  echo 'go get github.com/codegangsta/martini'
+  echo
+  echo 'Example use of the go tool:'
+  echo
+  echo 'mkdir ~/go'
+  echo 'export GOPATH=~/go'
+  echo 'export PATH=$PATH:~/go/bin'
+  echo 'go get code.google.com/p/go-tour/gotour'
+  echo
 }
 
 # vim:set ts=2 sw=2 et:

Deleted: go.sh
===
--- go.sh   2014-01-27 16:23:54 UTC (rev 104857)
+++ go.sh   2014-01-27 16:24:28 UTC (rev 104858)
@@ -1 +0,0 @@
-export GOROOT=/usr/lib/go



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

2013-12-02 Thread Alexander Rødseth
Date: Monday, December 2, 2013 @ 14:37:17
  Author: arodseth
Revision: 101865

upgpkg: go 2:1.2-1

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install
  go/trunk/go.sh

+
 PKGBUILD   |8 +---
 go.install |   12 ++--
 go.sh  |1 -
 3 files changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-02 13:32:36 UTC (rev 101864)
+++ PKGBUILD2013-12-02 13:37:17 UTC (rev 101865)
@@ -9,7 +9,7 @@
 # Contributor: Daniel YC Lin dlin...@gmail.com
 
 pkgname=go
-pkgver=1.2rc5
+pkgver=1.2
 pkgrel=1
 epoch=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
@@ -19,6 +19,7 @@
 depends=('perl' 'gawk')
 makedepends=('inetutils')
 options=('!strip' 'staticlibs')
+optdepends=('liteide: IDE for editing and building projects written in Go')
 install=$pkgname.install
 backup=('usr/lib/go/bin')
 
@@ -25,12 +26,12 @@
 if [ $CARCH == 'x86_64' ]; then
   source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz;
   $pkgname.sh)
-  
sha256sums=('39579e52e312030d82c123fbb6441a6154be348b93c6b4d947d39802c30a5d9e'
+  
sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2'
   
'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
 else
   source=(http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz;
   $pkgname.sh)
-  
sha256sums=('ed60ebcb519c040957b3a3c0535c8303e2c7aa456d346476d79c7228eda9bfa1'
+  
sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651'
   
'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
 fi
 
@@ -50,6 +51,7 @@
   # Enable ARM crosscompilation for linux
   export GOOS=linux
   export GOARCH=arm
+
   bash make.bash
 
   # Crosscompilation for various platforms (including linux)

Modified: go.install
===
--- go.install  2013-12-02 13:32:36 UTC (rev 101864)
+++ go.install  2013-12-02 13:37:17 UTC (rev 101865)
@@ -1,10 +1,10 @@
 post_install() {
-  # Friendly message to the user
-  echo Example use of the \go\ tool as a user:
-  echo mkdir ~/go
-  echo export GOPATH=~/go
-  echo export PATH=\$PATH:\$GOPATH/bin
-  echo go get website.com/user/module
+  # Friendly message for new users
+  echo Example use of the \go\ tool:
+  echo 'mkdir ~/mygoproject'
+  echo 'export GOPATH=~/mygoproject'
+  echo 'export PATH=\$PATH:\$GOPATH/bin'
+  echo 'go get github.com/codegangsta/martini'
 }
 
 # vim:set ts=2 sw=2 et:

Modified: go.sh
===
--- go.sh   2013-12-02 13:32:36 UTC (rev 101864)
+++ go.sh   2013-12-02 13:37:17 UTC (rev 101865)
@@ -1,2 +1 @@
-export GOPATH=/usr/lib/go/site
 export GOROOT=/usr/lib/go



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

2013-11-01 Thread Alexander Rødseth
Date: Friday, November 1, 2013 @ 15:49:33
  Author: arodseth
Revision: 100095

Updated the installation instructions to include adding $GOPATH/bin to the path.

Modified:
  go/trunk/PKGBUILD
  go/trunk/go.install

+
 PKGBUILD   |2 +-
 go.install |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-01 14:49:10 UTC (rev 100094)
+++ PKGBUILD2013-11-01 14:49:33 UTC (rev 100095)
@@ -10,7 +10,7 @@
 
 pkgname=go
 pkgver=1.1.2
-pkgrel=3
+pkgrel=4
 epoch=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')

Modified: go.install
===
--- go.install  2013-11-01 14:49:10 UTC (rev 100094)
+++ go.install  2013-11-01 14:49:33 UTC (rev 100095)
@@ -3,6 +3,7 @@
   echo Example use of the \go\ tool as a user:
   echo mkdir ~/go
   echo export GOPATH=~/go
+  echo export PATH=\$PATH:\$GOPATH/bin
   echo go get website.com/user/module
 }