# Template file for 'ferium'
pkgname=ferium
version=4.4.1
revision=1
build_style=cargo
build_helper=qemu
short_desc="CLI program for managing Minecraft mods and modpacks"
maintainer="yosh <yosh-git@riseup.net>"
license="MPL-2.0"
homepage="https://github.com/gorilla-devs/ferium"
changelog="https://raw.githubusercontent.com/gorilla-devs/ferium/main/CHANGELOG.md"
distfiles="https://github.com/gorilla-devs/ferium/archive/refs/tags/v${version}.tar.gz"
checksum=ccab09df5cd0c3db890b7099705696cd8770dcf936182dcd266ad3da5f5262f9

post_install() {
	local ferium="${DESTDIR}/usr/bin/ferium"
	for shell in bash fish zsh; do
		vtargetrun ${ferium} complete ${shell} > ferium.${shell}
		vcompletion ferium.${shell} ${shell}
	done
}
