From 438edb5cbba64dd11ffc15bd8ee651cb354cb78e 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/ferium/template diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template new file mode 100644 index 000000000000..1172a26d95bf --- /dev/null +++ b/srcpkgs/ferium/template @@ -0,0 +1,21 @@ +# 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_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 +}