# Template file for 'git-prole'
pkgname=git-prole
version=0.5.3
revision=1
build_style=cargo
build_helper="qemu"
depends="git bash"
checkdepends="git"
short_desc="Git-worktree(1) manager"
maintainer="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://9999years.github.io/git-prole/"
changelog="https://github.com/9999years/git-prole/releases"
distfiles="https://github.com/9999years/git-prole/archive/refs/tags/v${version}.tar.gz"
checksum=e589139d31a2547179cf61cc5348de6925c4ca0a2f861a0960dcb178f7b9aec7

post_install() {
	for sh in bash fish zsh; do
		vtargetrun "$DESTDIR"/usr/bin/git-prole completions "$sh" > "completions.$sh"
		vcompletion "completions.$sh" "$sh"
	done
	vlicense LICENSE
}
