Browse Source

golang: Update from 1.11 to 1.11.1

android-5
Fredrik Fornwall 6 years ago
parent
commit
044c911db2
  1. 4
      build-package.sh
  2. 4
      packages/golang/build.sh

4
build-package.sh

@ -77,7 +77,7 @@ termux_setup_golang() {
termux_error_exit "Unsupported arch: $TERMUX_ARCH"
fi
local TERMUX_GO_VERSION=go1.11
local TERMUX_GO_VERSION=go1.11.1
local TERMUX_GO_PLATFORM=linux-amd64
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}
@ -90,7 +90,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" \
b3fcf280ff86558e0559e185b601c9eade0fd24c900b4c63cd14d1d38613e499
2871270d8ff0c8c69f161aaae42f9f28739855ff5c5204752a8d92a1c9f63993
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
}

4
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.11
TERMUX_PKG_SHA256=afc1e12f5fe49a471e3aae7d906c73e9d5b1fdd36d52d72652dde8f6250152fb
local _MAJOR_VERSION=1.11.1
TERMUX_PKG_SHA256=558f8c169ae215e25b81421596e8de7572bd3ba824b79add22fba6e284db1117
# 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

Loading…
Cancel
Save