# Template file for 'cri-tools'
pkgname=cri-tools
version=1.36.0
revision=1
build_style=go
go_import_path=github.com/kubernetes-sigs/cri-tools
make_check_target=sigs.k8s.io/cri-tools/cmd/crictl
short_desc="CLI and validation tools for Kubelet Container Runtime Interface (CRI)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/kubernetes-sigs/cri-tools"
distfiles="https://github.com/kubernetes-sigs/cri-tools/archive/v${version}.tar.gz"
checksum=e0433207c55e08ab9e42e2fa3b3df3769ebae7695c145b600d79878be599e08f

do_build() {
	make ${makejobs}
}

do_install() {
	for bin in build/bin/linux/${GOARCH}/*; do
	    vbin $bin
	done
}
