From 2558c84f2be4fae8316d3fee9dfeebbc73b7efbe Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 19 Aug 2015 07:50:30 -0400 Subject: [PATCH] golang: Remove "testdata" folders --- packages/golang/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index d745d36ad..8e9c9473f 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" TERMUX_PKG_VERSION=1.5rc1 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go1.5rc1.src.tar.gz TERMUX_PKG_FOLDERNAME=go TERMUX_PKG_KEEP_STATIC_LIBRARIES=true @@ -56,3 +56,7 @@ termux_step_make_install () { cp pkg/include/* $TERMUX_GODIR/pkg/include/ cp -Rf pkg/$TERMUX_GOLANG_DIRNAME/* $TERMUX_GODIR/pkg/$TERMUX_GOLANG_DIRNAME/ } + +termux_step_post_massage () { + find . -path '*/testdata*' -delete +}