void-packages/srcpkgs/ferium/template

22 lines
723 B
Bash
Raw Normal View History

2023-03-07 05:48:38 +01:00
# Template file for 'ferium'
pkgname=ferium
version=4.4.0
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=a19b5ea7b12123ef68b2caf96a1c58025aa30d7e14e8c0dbfef44ffc01938045
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
}