-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
30 lines (27 loc) · 826 Bytes
/
template
File metadata and controls
30 lines (27 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}