From a3f49f72a4522567388cc54cfe18800732b86171 Mon Sep 17 00:00:00 2001 From: Krishna Kanhaiya Date: Fri, 4 Sep 2020 11:19:24 +0530 Subject: [PATCH 1/2] golang: build.sh add misc directory Add misc directory in golang root which contains useful wrapper for wasm, android etc --- packages/golang/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index f66456776..b9563320c 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -40,6 +40,7 @@ termux_step_make_install() { cp pkg/include/* $TERMUX_GODIR/pkg/include/ cp -Rf lib/* $TERMUX_GODIR/lib cp -Rf pkg/${TERMUX_GOLANG_DIRNAME}/* $TERMUX_GODIR/pkg/${TERMUX_GOLANG_DIRNAME}/ + cp -Rf misc/ $TERMUX_GODIR/ } termux_step_post_massage() { From 1b23a10f1269882304a91d0dbb3351e9a7c7c2f5 Mon Sep 17 00:00:00 2001 From: Krishna Kanhaiya Date: Fri, 4 Sep 2020 13:48:23 +0530 Subject: [PATCH 2/2] Update build.sh --- packages/golang/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index b9563320c..bbe834392 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="BSD 3-Clause" _MAJOR_VERSION=1.15.1 # 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=d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30 TERMUX_PKG_DEPENDS="clang" @@ -40,7 +41,7 @@ termux_step_make_install() { cp pkg/include/* $TERMUX_GODIR/pkg/include/ cp -Rf lib/* $TERMUX_GODIR/lib cp -Rf pkg/${TERMUX_GOLANG_DIRNAME}/* $TERMUX_GODIR/pkg/${TERMUX_GOLANG_DIRNAME}/ - cp -Rf misc/ $TERMUX_GODIR/ + cp -Rf misc/ $TERMUX_GODIR/ } termux_step_post_massage() {