From: Fredrik Fornwall Date: Fri, 21 Oct 2016 19:17:18 +0000 (-0400) Subject: golang: Update from 1.7.1 to 1.7.3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/23d4b8b520f690f1d7ce473c861ea4cc73639646 golang: Update from 1.7.1 to 1.7.3 --- diff --git a/build-package.sh b/build-package.sh index 13791fa6..a0dd449f 100755 --- a/build-package.sh +++ b/build-package.sh @@ -523,7 +523,7 @@ termux_setup_golang () { exit 1 fi - local TERMUX_GO_VERSION=go1.7.1 + local TERMUX_GO_VERSION=go1.7.3 local TERMUX_GO_PLATFORM=linux-amd64 test `uname` = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64 @@ -812,7 +812,7 @@ termux_step_post_massage # Create data tarball containing files to package: cd $TERMUX_PKG_MASSAGEDIR -if [ "`find . -type f`" = "" ]; then +if [ -z "${TERMUX_PKG_METAPACKAGE+x}" -a "`find . -type f`" = "" ]; then echo "ERROR: No files in package" exit 1 fi diff --git a/packages/golang/build.sh b/packages/golang/build.sh index 2c6ed675..93be1ed4 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,6 +1,6 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" -_MAJOR_VERSION=1.7.1 +_MAJOR_VERSION=1.7.3 # 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