git » go-1.20.git » commit d647892

upgpkg: 2:1.4.1-1

author Alexander Rødseth
2015-01-17 23:54:16 UTC
committer Alexander Rødseth
2015-01-17 23:54:16 UTC
parent 5c643f9529c7be36f1ee1426574808b7f85dd05f

upgpkg: 2:1.4.1-1

PKGBUILD +7 -7

diff --git a/PKGBUILD b/PKGBUILD
index 71edebc..8a7bd14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,21 +10,20 @@
 
 pkgname=go
 epoch=2
-pkgver=1.4
+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')
-depends=('perl' 'gawk')
-makedepends=('inetutils' 'mercurial' 'git')
+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::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver")
+source=("$pkgname-$pkgver::git+https://go.googlesource.com/go#tag=$pkgname$pkgver")
 md5sums=('SKIP')
 
 build() {
@@ -42,13 +41,14 @@ build() {
   #  * 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.
+  # 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
@@ -82,7 +82,7 @@ build() {
 check() {
   cd "$pkgname-$pkgver"
 
-  export GO386=387
+  #export GO386=387
 
   export GOOS=linux
   if [ "$CARCH" == 'x86_64' ]; then