From 3c47f696f570031d966f006ca3fa17338de9e390 Mon Sep 17 00:00:00 2001 From: yosh Date: Mon, 6 Mar 2023 23:48:38 -0500 Subject: [PATCH] New package: ferium-4.3.4 --- srcpkgs/ferium/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/ferium/template diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template new file mode 100644 index 000000000000..75e689fee652 --- /dev/null +++ b/srcpkgs/ferium/template @@ -0,0 +1,26 @@ +# Template file for 'ferium' +pkgname=ferium +version=4.3.4 +revision=1 +build_style=cargo +build_helper=qemu +short_desc="CLI program for managing Minecraft mods and modpacks" +maintainer="yosh " +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=7f5fab2141a03c6fcf22dac2349331f2a478a48677d91defc545406ce70f7aca + +post_build() { + FERIUM="target/${RUST_TARGET}/release/ferium" + vtargetrun ${FERIUM} complete bash > ferium.bash + vtargetrun ${FERIUM} complete zsh > ferium.zsh + vtargetrun ${FERIUM} complete fish > ferium.fish +} + +post_install() { + vcompletion ferium.bash bash + vcompletion ferium.zsh zsh + vcompletion ferium.fish fish +}