golang: update to 1.15.6
This commit is contained in:
parent
10f7f38cf2
commit
40f14b24f8
@ -1,11 +1,11 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://golang.org/
|
TERMUX_PKG_HOMEPAGE=https://golang.org/
|
||||||
TERMUX_PKG_DESCRIPTION="Go programming language compiler"
|
TERMUX_PKG_DESCRIPTION="Go programming language compiler"
|
||||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||||
_MAJOR_VERSION=1.15.5
|
_MAJOR_VERSION=1.15.6
|
||||||
# Use the ~ deb versioning construct in the future:
|
# Use the ~ deb versioning construct in the future:
|
||||||
TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}
|
TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}
|
||||||
TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz
|
TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz
|
||||||
TERMUX_PKG_SHA256=c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1
|
TERMUX_PKG_SHA256=890bba73c5e2b19ffb1180e385ea225059eb008eb91b694875dd86ea48675817
|
||||||
TERMUX_PKG_DEPENDS="clang"
|
TERMUX_PKG_DEPENDS="clang"
|
||||||
TERMUX_PKG_NO_STATICSPLIT=true
|
TERMUX_PKG_NO_STATICSPLIT=true
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Utility function for golang-using packages to setup a go toolchain.
|
# Utility function for golang-using packages to setup a go toolchain.
|
||||||
termux_setup_golang() {
|
termux_setup_golang() {
|
||||||
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then
|
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then
|
||||||
local TERMUX_GO_VERSION=go1.15.5
|
local TERMUX_GO_VERSION=go1.15.6
|
||||||
local TERMUX_GO_PLATFORM=linux-amd64
|
local TERMUX_GO_PLATFORM=linux-amd64
|
||||||
|
|
||||||
local TERMUX_BUILDGO_FOLDER
|
local TERMUX_BUILDGO_FOLDER
|
||||||
@ -20,7 +20,7 @@ termux_setup_golang() {
|
|||||||
rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER"
|
rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER"
|
||||||
termux_download https://golang.org/dl/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \
|
termux_download https://golang.org/dl/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \
|
||||||
"$TERMUX_BUILDGO_TAR" \
|
"$TERMUX_BUILDGO_TAR" \
|
||||||
9a58494e8da722c3aef248c9227b0e9c528c7318309827780f16220998180a0d
|
3918e6cc85e7eaaa6f859f1bdbaac772e7a825b0eb423c63d3ae68b21f84b844
|
||||||
|
|
||||||
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
|
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user