diff --git a/anda/tools/fisher/anda.hcl b/anda/tools/fisher/anda.hcl new file mode 100644 index 0000000000..c2b1cf8256 --- /dev/null +++ b/anda/tools/fisher/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "fisher.spec" + } +} diff --git a/anda/tools/fisher/fisher.spec b/anda/tools/fisher/fisher.spec new file mode 100644 index 0000000000..188b874191 --- /dev/null +++ b/anda/tools/fisher/fisher.spec @@ -0,0 +1,35 @@ +Name: fisher +Version: 4.4.8 +Release: 1%{?dist} +Summary: A plugin manager for the fish shell + +License: MIT +URL: https://github.com/jorgebucaran/fisher +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +Packager: Caio Bruno + +BuildArch: noarch +Requires: fish curl + +%description +fisher is a plugin manager for the fish shell — install plugins, themes, +and functions from the command line with a single command. + +%prep +%autosetup -n fisher-%{version} + +%build + +%install +install -Dm644 functions/fisher.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/fisher.fish +install -Dm644 completions/fisher.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/fisher.fish + +%files +%license LICENSE.md +%doc README.md +%{_datadir}/fish/vendor_functions.d/fisher.fish +%{fish_completions_dir}/fisher.fish + +%changelog +* Thu Jul 30 2026 Caio Bruno +- Initial package diff --git a/anda/tools/fisher/update.rhai b/anda/tools/fisher/update.rhai new file mode 100644 index 0000000000..1a7c90446e --- /dev/null +++ b/anda/tools/fisher/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jorgebucaran/fisher"));