Browse Source

golang: Remove "testdata" folders

android-5
Fredrik Fornwall 9 years ago
parent
commit
2558c84f2b
  1. 6
      packages/golang/build.sh

6
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
}

Loading…
Cancel
Save