From bb1f74c55bdedbf43e95bc1b2914943de7e28649 Mon Sep 17 00:00:00 2001 From: yosh Date: Mon, 6 Mar 2023 23:48:38 -0500 Subject: [PATCH] New package: ferium-4.4.0 --- 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..859e790f75d1 --- /dev/null +++ b/srcpkgs/ferium/template @@ -0,0 +1,21 @@ +# 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 " +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 +}