void-packages/srcpkgs/ferium/template

23 lines
762 B
Bash

# Template file for 'ferium'
pkgname=ferium
version=4.5.2
revision=1
build_style=cargo
build_helper=qemu
configure_args="--no-default-features"
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=5b4fde3eee2336c4874d8bf5c412e019843f9cef018f750bbb4c51c1fceb9484
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
}