diff options
author | Grey Christoforo | 2019-09-25 10:59:27 +0100 |
---|---|---|
committer | Grey Christoforo | 2019-09-25 10:59:27 +0100 |
commit | e40a8f3f9ee9458ed77dbc34d28b6cb14f3e4cfb (patch) | |
tree | 81379d3bb94209f19d413b88648eb2791171b201 | |
parent | 10f71a8315e74c3645a009cdf279b7b6f4493a0c (diff) | |
download | aur-e40a8f3f9ee9458ed77dbc34d28b6cb14f3e4cfb.tar.gz |
fixed build permissions
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -22,6 +22,7 @@ prepare(){ mkdir -p "$GOPATH"/src/github.com/arduino ln -rTsf "${pkgname//-rc}-$pkgver" "$GOPATH"/src/github.com/arduino/arduino-builder + #cp -a "${pkgname//-rc}-$pkgver" "$GOPATH"/src/github.com/arduino/arduino-builder cd "$GOPATH"/src/github.com/arduino/arduino-builder export GO111MODULE=on @@ -40,14 +41,16 @@ build() { -asmflags "all=-trimpath=$GOPATH" \ -ldflags "-extldflags $LDFLAGS" \ -v . -} -check() { - # Test will download ~1GB of testfiles - cd "$GOPATH"/src/github.com/arduino/arduino-builder - go test -v -timeout 60m . + chmod -R 744 "$GOPATH" } +#check() { +# # Test will download ~1GB of testfiles +# cd "$GOPATH"/src/github.com/arduino/arduino-builder +# go test -v -timeout 60m . +#} + package() { # Fix platform.txt for arch arduino-ctags #cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" |