# Template file for 'ymir'
pkgname=ymir
version=0.0.7
revision=1
build_style=cargo
build_helper=qemu
short_desc="Tool for doing bulk test builds of Void Linux packages"
maintainer="tranzystorekk <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=522f7ebf7a292704850f8fc5adfa1a451bec34ed8b1d419bc50c76f987a848f0

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
}
