|
|
@ -76,7 +76,7 @@ termux_setup_golang() { |
|
|
|
termux_error_exit "Unsupported arch: $TERMUX_ARCH" |
|
|
|
fi |
|
|
|
|
|
|
|
local TERMUX_GO_VERSION=go1.10.3 |
|
|
|
local TERMUX_GO_VERSION=go1.11 |
|
|
|
local TERMUX_GO_PLATFORM=linux-amd64 |
|
|
|
|
|
|
|
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} |
|
|
@ -89,7 +89,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" \ |
|
|
|
fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035 |
|
|
|
b3fcf280ff86558e0559e185b601c9eade0fd24c900b4c63cd14d1d38613e499 |
|
|
|
|
|
|
|
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) |
|
|
|
} |
|
|
|