golang: Update from 1.12 to 1.12.1
This commit is contained in:
parent
a971f1a1c6
commit
12ad4574aa
@ -1,9 +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
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SHA256=09c43d3336743866f2985f566db0520b36f4992aea2b4b2fd9f52f17049e88f2
|
||||
local _MAJOR_VERSION=1.12.1
|
||||
TERMUX_PKG_SHA256=0be127684df4b842a64e58093154f9d15422f1405f1fcff4b2c36ffc6a15818a
|
||||
# Use the ~ deb versioning construct in the future:
|
||||
TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}
|
||||
TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz
|
||||
|
@ -18,7 +18,7 @@ termux_setup_golang() {
|
||||
termux_error_exit "Unsupported arch: $TERMUX_ARCH"
|
||||
fi
|
||||
|
||||
local TERMUX_GO_VERSION=go1.12
|
||||
local TERMUX_GO_VERSION=go1.12.1
|
||||
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" \
|
||||
750a07fef8579ae4839458701f4df690e0b20b8bcce33b437e4df89c451b6f13
|
||||
2a3fdabf665496a0db5f41ec6af7a9b15a49fbe71a85a50ca38b1f13a103aeec
|
||||
|
||||
( 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