void-packages/srcpkgs/ferium/template

23 lines
762 B
Bash

# Template file for 'ferium'
pkgname=ferium
version=4.5.0
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=c9b54673a494cecabfc62a48d03d504b6fea00af1b749c3ccb210021f8528bf0
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
}