From 8e0db3dd8410d05ddf571e2a9a463d1ffd61d752 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 18 Feb 2018 22:29:21 +0100 Subject: [PATCH] golang: Update from 1.9.4 to 1.10 --- build-package.sh | 4 ++-- packages/golang/build.sh | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/build-package.sh b/build-package.sh index f81ffbe70..0b524dd24 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.9.4 + local TERMUX_GO_VERSION=go1.10 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" \ - 15b0937615809f87321a457bb1265f946f9f6e736c563d6c5e0bd2c22e44f779 + b5a64335f1490277b585832d1f6c7f8c6c11206cba5cd3f771dcb87b98ad1a33 ( 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 bfd3363eb..1bf808fc9 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,11 +1,10 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" -local _MAJOR_VERSION=1.9.4 +local _MAJOR_VERSION=1.10 # Use the ~ deb versioning construct in the future: TERMUX_PKG_VERSION=2:${_MAJOR_VERSION} -TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz -TERMUX_PKG_SHA256=0573a8df33168977185aa44173305e5a0450f55213600e94541604b75d46dc06 +TERMUX_PKG_SHA256=f3de49289405fda5fd1483a8fe6bd2fa5469e005fd567df64485c4fa000c7f24 TERMUX_PKG_KEEP_STATIC_LIBRARIES=true TERMUX_PKG_DEPENDS="clang"