|
|
@ -77,7 +77,7 @@ termux_setup_golang() { |
|
|
|
termux_error_exit "Unsupported arch: $TERMUX_ARCH" |
|
|
|
fi |
|
|
|
|
|
|
|
local TERMUX_GO_VERSION=go1.11 |
|
|
|
local TERMUX_GO_VERSION=go1.11.1 |
|
|
|
local TERMUX_GO_PLATFORM=linux-amd64 |
|
|
|
|
|
|
|
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} |
|
|
@ -90,7 +90,7 @@ termux_setup_golang() { |
|
|
|
rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER" |
|
|
|
termux_download https://storage.googleapis.com/golang/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \ |
|
|
|
"$TERMUX_BUILDGO_TAR" \ |
|
|
|
b3fcf280ff86558e0559e185b601c9eade0fd24c900b4c63cd14d1d38613e499 |
|
|
|
2871270d8ff0c8c69f161aaae42f9f28739855ff5c5204752a8d92a1c9f63993 |
|
|
|
|
|
|
|
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) |
|
|
|
} |
|
|
|