golang: Update from 1.12.2 to 1.12.5
This commit is contained in:
parent
aaff27833d
commit
2e6aa72a19
@ -1,8 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://golang.org/
|
||||
TERMUX_PKG_DESCRIPTION="Go programming language compiler"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
local _MAJOR_VERSION=1.12.2
|
||||
TERMUX_PKG_SHA256=af992580a4a609309c734d46fd4374fe3095961263e609d9b017e2dffc3b7b58
|
||||
local _MAJOR_VERSION=1.12.5
|
||||
TERMUX_PKG_SHA256=2aa5f088cbb332e73fc3def546800616b38d3bfe6b8713b8a6404060f22503e8
|
||||
# Use the ~ deb versioning construct in the future:
|
||||
TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}
|
||||
TERMUX_PKG_REVISION=1
|
||||
|
@ -18,7 +18,7 @@ termux_setup_golang() {
|
||||
termux_error_exit "Unsupported arch: $TERMUX_ARCH"
|
||||
fi
|
||||
|
||||
local TERMUX_GO_VERSION=go1.12.2
|
||||
local TERMUX_GO_VERSION=go1.12.5
|
||||
local TERMUX_GO_PLATFORM=linux-amd64
|
||||
|
||||
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}
|
||||
@ -31,7 +31,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" \
|
||||
f28c1fde8f293cc5c83ae8de76373cf76ae9306909564f54e0edcf140ce8fe3f
|
||||
aea86e3c73495f205929cfebba0d63f1382c8ac59be081b6351681415f4063cf
|
||||
|
||||
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user