# Template file for 'ymir'
pkgname=ymir
version=0.0.5
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/tranzystorek-io/ymir"
changelog="https://codeberg.org/tranzystorek-io/ymir/raw/branch/main/CHANGELOG.md"
distfiles="https://codeberg.org/tranzystorek-io/ymir/archive/v${version}.tar.gz"
checksum=6af91fdbe20dd615269a98571302372b0245f0b99f2e4533fc8688e79bc1604d

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
}
