diff --git a/build-package.sh b/build-package.sh index b3ce5d52b..2f419888a 100755 --- a/build-package.sh +++ b/build-package.sh @@ -74,7 +74,7 @@ termux_setup_golang() { termux_error_exit "Unsupported arch: $TERMUX_ARCH" fi - local TERMUX_GO_VERSION=go1.10.2 + local TERMUX_GO_VERSION=go1.10.3 local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} @@ -87,7 +87,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" \ - 4b677d698c65370afa33757b6954ade60347aaca310ea92a63ed717d7cb0c2ff + fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035 ( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) } diff --git a/packages/golang/build.sh b/packages/golang/build.sh index d64331ecc..cb3231ea7 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" -local _MAJOR_VERSION=1.10.2 -TERMUX_PKG_SHA256=6264609c6b9cd8ed8e02ca84605d727ce1898d74efa79841660b2e3e985a98bd +local _MAJOR_VERSION=1.10.3 +TERMUX_PKG_SHA256=567b1cc66c9704d1c019c50bef946272e911ec6baf244310f87f4e678be155f2 # 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