parent
03cf7af739
commit
5bc8ea6819
1 changed files with 6 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'go'
|
||||
pkgname=go
|
||||
_bootstrap_version=1.4.2
|
||||
version=1.8.3
|
||||
revision=2
|
||||
version=1.9
|
||||
revision=1
|
||||
wrksrc=go
|
||||
hostmakedepends="git ca-certificates"
|
||||
short_desc="The Go Programming Language"
|
||||
|
@ -12,7 +12,7 @@ license="BSD"
|
|||
distfiles="http://golang.org/dl/go${_bootstrap_version}.src.tar.gz
|
||||
http://golang.org/dl/go${version}.src.tar.gz"
|
||||
checksum="299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
|
||||
5f5dea2447e7dcfdc50fa6b94c512e58bfba5673c039259fd843f68829d99fa6"
|
||||
a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993"
|
||||
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
|
@ -89,12 +89,11 @@ do_build() {
|
|||
GOARCH=$targetarch
|
||||
|
||||
git clone https://go.googlesource.com/tools \
|
||||
-b release-branch.go$(echo "$version" | cut -d "." -f "1-2") \
|
||||
-b release-branch.go$(echo "${version}" | cut -d "." -f "1-2") \
|
||||
$GOPATH/src/golang.org/x/tools
|
||||
|
||||
for tool in godoc cover; do
|
||||
$GOROOT/bin/go install golang.org/x/tools/cmd/${tool}
|
||||
done
|
||||
$GOROOT/bin/go install golang.org/x/tools/cmd/godoc
|
||||
mv ${GOPATH}/bin/godoc ${GOROOT}/bin/
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue