From 63b4479fef514df0b3bc14267ab768c8408a82e1 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 16 Dec 2025 20:49:54 -0800 Subject: [PATCH] add: ScopeBuddy (#8417) (#8418) (cherry picked from commit 253ea3d0c486932931f99e7dbfc56774f1bede95) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/games/ScopeBuddy/ScopeBuddy.spec | 38 +++++++++++++++++++++++++++ anda/games/ScopeBuddy/anda.hcl | 6 +++++ anda/games/ScopeBuddy/update.rhai | 1 + 3 files changed, 45 insertions(+) create mode 100644 anda/games/ScopeBuddy/ScopeBuddy.spec create mode 100644 anda/games/ScopeBuddy/anda.hcl create mode 100644 anda/games/ScopeBuddy/update.rhai diff --git a/anda/games/ScopeBuddy/ScopeBuddy.spec b/anda/games/ScopeBuddy/ScopeBuddy.spec new file mode 100644 index 0000000000..7891507ada --- /dev/null +++ b/anda/games/ScopeBuddy/ScopeBuddy.spec @@ -0,0 +1,38 @@ +Name: ScopeBuddy +Version: 1.3.0 +Release: 1%?dist +Summary: A manager script to make gamescope easier to use on desktop +License: Apache-2.0 +URL: https://github.com/HikariKnight/ScopeBuddy +Source0: %url/archive/refs/tags/%version.tar.gz +BuildArch: noarch + +Requires: bash +Requires: perl +Requires: (gamescope or terra-gamescope) + +Provides: scopebuddy +Provides: scb + +Packager: Owen Zimmerman + +%description +A manager script to make gamescope easier to use on the desktop (or if you use it in desktop mode and gamemode). + +%prep +%autosetup + +%install +install -Dm 755 bin/scopebuddy %{buildroot}%{_bindir}/scopebuddy + +%post +%{__ln_s} -f %{_bindir}/scopebuddy %{_bindir}/scb + +%files +%doc README.md +%license LICENSE +%{_bindir}/scopebuddy + +%changelog +* Tue Dec 16 2025 Owen Zimmerman +- Initial commit diff --git a/anda/games/ScopeBuddy/anda.hcl b/anda/games/ScopeBuddy/anda.hcl new file mode 100644 index 0000000000..8d92359486 --- /dev/null +++ b/anda/games/ScopeBuddy/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "ScopeBuddy.spec" + } +} diff --git a/anda/games/ScopeBuddy/update.rhai b/anda/games/ScopeBuddy/update.rhai new file mode 100644 index 0000000000..8836c4c208 --- /dev/null +++ b/anda/games/ScopeBuddy/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("HikariKnight/ScopeBuddy"));