summaryrefslogtreecommitdiff
path: root/testing/kubectl-krew/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kubectl-krew/APKBUILD')
-rw-r--r--testing/kubectl-krew/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/kubectl-krew/APKBUILD b/testing/kubectl-krew/APKBUILD
index 4f701bfbe6c..95eee574c58 100644
--- a/testing/kubectl-krew/APKBUILD
+++ b/testing/kubectl-krew/APKBUILD
@@ -16,19 +16,19 @@ export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
- GOLDFLAGS="
- -X sigs.k8s.io/krew/internal/version.gitCommit=AlpineLinux
- -X sigs.k8s.io/krew/internal/version.gitTag=v$pkgver
- "
- go build -tags netgo -ldflags "$GOLDFLAGS" -o bin/$pkgname ./cmd/krew/main.go
+ GOLDFLAGS="
+ -X sigs.k8s.io/krew/internal/version.gitCommit=AlpineLinux
+ -X sigs.k8s.io/krew/internal/version.gitTag=v$pkgver
+ "
+ go build -tags netgo -ldflags "$GOLDFLAGS" -o bin/$pkgname ./cmd/krew/main.go
}
check() {
- KREW_BINARY="$builddir/bin/$pkgname" go test ./...
+ KREW_BINARY="$builddir/bin/$pkgname" go test ./...
}
package() {
- install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
}
sha512sums="