# Template file for 'ymir'
pkgname=ymir
version=0.0.8
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=54cf637874f1a1dd459231b4b65493064f8e8084e5f7d23ea90eeb0f4665a75d

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
}
