diff --git a/build-package.sh b/build-package.sh index bca56189e..4e52fd9ab 100755 --- a/build-package.sh +++ b/build-package.sh @@ -524,7 +524,7 @@ termux_setup_golang () { exit 1 fi - local TERMUX_GO_VERSION=go1.7 + local TERMUX_GO_VERSION=go1.7.1 local TERMUX_GO_PLATFORM=linux-amd64 test `uname` = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64 diff --git a/packages/golang/build.sh b/packages/golang/build.sh index 0497eaed7..2c6ed675c 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,10 +1,10 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" -_MAJOR_VERSION=1.7 +_MAJOR_VERSION=1.7.1 # Use the ~ deb versioning construct in the future: TERMUX_PKG_VERSION=2:${_MAJOR_VERSION} -TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz +TERMUX_PKG_SHA256=2b843f133b81b7995f26d0cb64bbdbb9d0704b90c44df45f844d28881ad442d3 TERMUX_PKG_FOLDERNAME=go TERMUX_PKG_KEEP_STATIC_LIBRARIES=true TERMUX_PKG_DEPENDS="clang" @@ -23,7 +23,7 @@ termux_step_make_install () { CC=gcc \ GO_LDFLAGS="-extldflags=-pie" \ GOROOT_BOOTSTRAP=$GOROOT \ - GOROOT_FINAL=$TERMUX_GODIR \ + GOROOT_FINAL=$TERMUX_GODIR \ ./make.bash cd ..