# Template file for 'ymir'
pkgname=ymir
version=0.0.6
revision=1
build_style=cargo
build_helper=qemu
short_desc="Tool for doing bulk test builds of Void Linux packages"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://codeberg.org/tranzystorekk/ymir"
changelog="https://codeberg.org/tranzystorekk/ymir/raw/branch/main/CHANGELOG.md"
distfiles="https://codeberg.org/tranzystorekk/ymir/archive/v${version}.tar.gz"
checksum=25560f3c0b9c4a23a9fa4d3a5b4b2fbb23da8963d5e37ac27b67c7e3a40aee1f

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

	vlicense LICENSE
}
