|
|
@ -17,7 +17,7 @@ termux_setup_golang() { |
|
|
|
termux_error_exit "Unsupported arch: $TERMUX_ARCH" |
|
|
|
fi |
|
|
|
|
|
|
|
local TERMUX_GO_VERSION=go1.11.5 |
|
|
|
local TERMUX_GO_VERSION=go1.12 |
|
|
|
local TERMUX_GO_PLATFORM=linux-amd64 |
|
|
|
|
|
|
|
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} |
|
|
@ -30,7 +30,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" \ |
|
|
|
ff54aafedff961eb94792487e827515da683d61a5f9482f668008832631e5d25 |
|
|
|
750a07fef8579ae4839458701f4df690e0b20b8bcce33b437e4df89c451b6f13 |
|
|
|
|
|
|
|
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) |
|
|
|
} |
|
|
|