From b7ebf4ddcf096650d3e4538c307290197d70eeb7 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 7 Oct 2025 21:10:25 -0700 Subject: [PATCH] add: F-Sy-H (#6712) (#6716) (cherry picked from commit f8d6ae8c3e4d8b0dedbc6b1f2c010a468cbb3e35) Signed-off-by: Owen Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/misc/F-Sy-H/F-Sy-H.spec | 52 ++++++++++++++++++++++++++++++++++++ anda/misc/F-Sy-H/anda.hcl | 6 +++++ anda/misc/F-Sy-H/update.rhai | 1 + 3 files changed, 59 insertions(+) create mode 100644 anda/misc/F-Sy-H/F-Sy-H.spec create mode 100644 anda/misc/F-Sy-H/anda.hcl create mode 100644 anda/misc/F-Sy-H/update.rhai diff --git a/anda/misc/F-Sy-H/F-Sy-H.spec b/anda/misc/F-Sy-H/F-Sy-H.spec new file mode 100644 index 0000000000..d0732d12eb --- /dev/null +++ b/anda/misc/F-Sy-H/F-Sy-H.spec @@ -0,0 +1,52 @@ +%define _zshfuncdir %{_datadir}/zsh/site-functions + +Name: F-Sy-H +Version: 1.67 +Release: 1%?dist +Summary: Feature-rich Syntax Highlighting for Zsh +License: BSD-3-Clause +URL: https://github.com/z-shell/F-Sy-H +Source0: %url/archive/refs/tags/v%version.tar.gz +Requires: zsh +BuildArch: noarch +Provides: f-sy-h +Provides: zsh-F-Sy-H +Provides: zsh-f-sy-h +Packager: Owen Zimmerman + +%description +%summary. + +%prep +%autosetup -n F-Sy-H-%{version} + +%build + +%install + +mkdir -p %{buildroot}%{_zshfuncdir}/chroma +mkdir -p %{buildroot}%{_zshfuncdir}/functions +mkdir -p %{buildroot}%{_zshfuncdir}/share +mkdir -p %{buildroot}%{_zshfuncdir}/share/parse +mkdir -p %{buildroot}%{_zshfuncdir}/themes + +install -Dm644 F-Sy-H.plugin.zsh %{buildroot}%{_zshfuncdir}/F-Sy-H.plugin.zsh +install -Dm644 chroma/* %{buildroot}%{_zshfuncdir}/chroma/ +install -Dm644 functions/* %{buildroot}%{_zshfuncdir}/functions/ +install -Dm644 share/*.zsh %{buildroot}%{_zshfuncdir}/share/ +install -Dm644 share/parse/* %{buildroot}%{_zshfuncdir}/share/parse/ +install -Dm644 themes/* %{buildroot}%{_zshfuncdir}/themes/ + +%files +%doc docs/*.md +%license LICENSE +%{_zshfuncdir}/F-Sy-H.plugin.zsh +%{_zshfuncdir}/chroma/* +%{_zshfuncdir}/functions/* +%{_zshfuncdir}/share/*.zsh +%{_zshfuncdir}/share/parse/* +%{_zshfuncdir}/themes/* + +%changelog +* Tue Oct 07 2025 Owen Zimmerman +- Initial commit diff --git a/anda/misc/F-Sy-H/anda.hcl b/anda/misc/F-Sy-H/anda.hcl new file mode 100644 index 0000000000..cb220c84a3 --- /dev/null +++ b/anda/misc/F-Sy-H/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "F-Sy-H.spec" + } +} diff --git a/anda/misc/F-Sy-H/update.rhai b/anda/misc/F-Sy-H/update.rhai new file mode 100644 index 0000000000..2ea7780d16 --- /dev/null +++ b/anda/misc/F-Sy-H/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("z-shell/F-Sy-H"));