# Template file for 'bob'
pkgname=bob
version=4.1.7
revision=1
build_style=cargo
build_helper="qemu"
short_desc="Version manager for neovim"
maintainer="Alex March <alex@hosaka.cc>"
license="MIT"
homepage="https://github.com/MordechaiHadad/bob"
changelog="https://github.com/MordechaiHadad/bob/releases"
distfiles="https://github.com/MordechaiHadad/bob/archive/refs/tags/v${version}.tar.gz"
checksum=ad9c8b7ba04e3eb006d1d3646107abfcf5615ee588c1deb7969a9cfca6267f76

post_install() {
	vlicense LICENSE

	for _shell in bash fish zsh; do
		vtargetrun ${DESTDIR}/usr/bin/bob complete ${_shell} > bob.${_shell}
		vcompletion bob.${_shell} ${_shell}
	done
}
