Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions srcpkgs/kustomize/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Template file for 'kustomize'
pkgname=kustomize
version=5.8.1
revision=1
build_style=go
go_import_path="sigs.k8s.io/kustomize/kustomize/v5"
short_desc="Template-free customization of Kubernetes YAML manifests"
maintainer="Aaron Duxler <aaron@duxler.at>"
license="Apache-2.0"
homepage="https://github.com/kubernetes-sigs/kustomize"
distfiles="https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${version}.tar.gz"
checksum=4ea5a974c46ad6efcde4fd9c339ab1bd278a80b6872dda2d1a366936e4638475

do_check() {
cd kustomize
go test -p "$XBPS_MAKEJOBS" ./...
}

post_build() {
for shell in bash fish zsh; do
CGO_ENABLED=0 GOARCH="" go run kustomize/main.go completion "$shell" \
>"completion.$shell"
done
}

post_install() {
for shell in bash fish zsh; do
vcompletion "completion.$shell" "$shell"
done
}