From c9848bf21c24cf3a1fd55736e4b8291d07ae6359 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 3 Dec 2025 18:48:44 -0800 Subject: [PATCH] =?UTF-8?q?add:=20mommy~=20=E2=9D=A4=EF=B8=8F=20(#8013)=20?= =?UTF-8?q?(#8016)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add: mommy~ ❤️ * add update.rhai (cherry picked from commit 6faf9c9d2c2226cfc3143bba0c9f004e3dc720e2) Co-authored-by: metcya <134973769+metcya@users.noreply.github.com> --- anda/misc/mommy/anda.hcl | 6 ++++++ anda/misc/mommy/mommy.spec | 32 ++++++++++++++++++++++++++++++++ anda/misc/mommy/update.rhai | 1 + 3 files changed, 39 insertions(+) create mode 100644 anda/misc/mommy/anda.hcl create mode 100644 anda/misc/mommy/mommy.spec create mode 100644 anda/misc/mommy/update.rhai diff --git a/anda/misc/mommy/anda.hcl b/anda/misc/mommy/anda.hcl new file mode 100644 index 0000000000..56b8bcd623 --- /dev/null +++ b/anda/misc/mommy/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "mommy.spec" + } +} diff --git a/anda/misc/mommy/mommy.spec b/anda/misc/mommy/mommy.spec new file mode 100644 index 0000000000..8bef4c5dc6 --- /dev/null +++ b/anda/misc/mommy/mommy.spec @@ -0,0 +1,32 @@ +Name: mommy +Version: 1.8.0 +Release: 1%?dist +Summary: mommy's here to support you, in any shell, on any system~ ❤️ +URL: https://github.com/fwdekker/mommy +Source: %{url}/archive/refs/tags/v%{version}.tar.gz +License: Unlicense +BuildArch: noarch + +%description +mommy's here to support you! mommy will compliment you if things go well, and will encourage you if things are not going so well~ + +%prep +%autosetup + +%install +install -Dm 755 src/main/sh/%{name} %{buildroot}%{_bindir}/%{name} +install -Dm 644 src/main/man/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +install -Dm 644 src/main/completions/fish/%{name}.fish %{buildroot}%{fish_completions_dir}/%{name}.fish +install -Dm 644 src/main/completions/zsh/_%{name} %{buildroot}%{zsh_completions_dir}/_%{name} + +%files +%license LICENSE +%doc README.md SECURITY.md CHANGELOG.md CONTRIBUTING.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%pkg_completion -zf + +%changelog +* Wed Dec 3 2025 metcya