# Template file for 'kompose'
pkgname=kompose
version=1.38.0
revision=1
build_style=go
build_helper=qemu
go_import_path="github.com/kubernetes/kompose"
checkdepends="git"
short_desc="Tool to convert Docker Compose to Kubernetes"
maintainer="Filip Rojek <filip@filiprojek.cz>"
license="Apache-2.0"
homepage="https://kompose.io/"
changelog="https://github.com/kubernetes/kompose/releases"
distfiles="https://github.com/kubernetes/kompose/archive/v${version}.tar.gz"
checksum=1a6eb3e9a5084d0ce6d1a81628b314686b7cfa41124bace13eb188865f7640a0

post_install() {
	for shell in bash zsh fish; do
		vtargetrun ${DESTDIR}/usr/bin/kompose completion $shell > kompose.${shell}
		vcompletion kompose.${shell} ${shell}
	done
}
