diff options
Diffstat (limited to 'community/go')
-rw-r--r-- | community/go/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/go/APKBUILD b/community/go/APKBUILD index 43f9ea9c4b..886c45216e 100644 --- a/community/go/APKBUILD +++ b/community/go/APKBUILD @@ -120,16 +120,16 @@ package() { # bug (https://github.com/golang/go/issues/2775). # When this is resolved we can split out the source to a # go-src sub package. - mkdir -p "$subpkgdir"/usr/lib/go/ - cp -a "$builddir"/src "$subpkgdir"/usr/lib/go + mkdir -p "$pkgdir"/usr/lib/go/ + cp -a "$builddir"/src "$pkgdir"/usr/lib/go # Remove tests from /usr/lib/go/src. # Those shouldn't be affacted by the upstream bug (see above). - find "$subpkgdir"/usr/lib/go/src \( -type f -a -name "*_test.go" \) \ + find "$pkgdir"/usr/lib/go/src \( -type f -a -name "*_test.go" \) \ -exec rm -rf \{\} \+ - find "$subpkgdir"/usr/lib/go/src \( -type d -a -name "testdata" \) \ + find "$pkgdir"/usr/lib/go/src \( -type d -a -name "testdata" \) \ -exec rm -rf \{\} \+ - find "$subpkgdir"/usr/lib/go/src -type f -a \( -name "*.bash" -o -name "*.rc" -o -name "*.bat" \) \ + find "$pkgdir"/usr/lib/go/src -type f -a \( -name "*.bash" -o -name "*.rc" -o -name "*.bat" \) \ -exec rm -rf \{\} \+ } |