go: update to 1.3.1
This commit is contained in:
parent
12e2dc03dd
commit
24b4853b5a
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'go'
|
||||
pkgname=go
|
||||
version=1.3
|
||||
revision=2
|
||||
version=1.3.1
|
||||
revision=1
|
||||
wrksrc=go
|
||||
hostmakedepends="mercurial ca-certificates"
|
||||
depends="perl"
|
||||
|
@ -10,7 +10,7 @@ maintainer="Dominik Honnef <dominik@honnef.co>"
|
|||
homepage="http://golang.org/"
|
||||
license="BSD"
|
||||
distfiles="http://golang.org/dl/go${version}.src.tar.gz"
|
||||
checksum=eb983e6c5b2b9838f482c5442b1ac1856f610f2b21f3c123b3fedb48ffc35382
|
||||
checksum=fdfa148cc12f1e4ea45a5565261bf43d8a2e7d1fad4a16aed592d606223b93a8
|
||||
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
|
@ -57,7 +57,7 @@ do_build() {
|
|||
GOOS=linux
|
||||
GOARCH=$targetarch
|
||||
|
||||
hg clone -u release-branch.go${version} \
|
||||
hg clone -u release-branch.go$(echo "$version" | cut -d "." -f "1-2") \
|
||||
--config web.cacerts=/etc/ssl/certs/ca-certificates.crt \
|
||||
https://code.google.com/p/go.tools/ \
|
||||
$GOPATH/src/code.google.com/p/go.tools
|
||||
|
|
Loading…
Reference in New Issue