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"));