mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "butler-bin.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
Name: butler-bin
|
||||
Version: 15.24.0
|
||||
Release: 1%?dist
|
||||
Summary: Command-line itch.io helper.
|
||||
URL: https://itch.io/docs/butler
|
||||
Source0: https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
|
||||
Source1: https://raw.githubusercontent.com/itchio/butler/refs/heads/master/LICENSE
|
||||
Source2: https://raw.githubusercontent.com/itchio/butler/refs/heads/master/README.md
|
||||
License: MIT
|
||||
Provides: itchio-butler-bin
|
||||
Provides: itch-butler-bin
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
Packager: arbormoss <arbormoss@woodsprite.dev>
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
|
||||
unzip butler.zip
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -Dm755 butler %{buildroot}%{_bindir}/butler
|
||||
install -Dm644 %{S:1} %{buildroot}%{_defaultlicensedir}/butler-bin/LICENSE
|
||||
install -Dm644 %{S:2} %{buildroot}%{_docdir}/butler-bin/README.md
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/butler
|
||||
|
||||
%changelog
|
||||
* Sat Nov 22 2025 arbormoss <arbormoss@woodsprite.dev>
|
||||
- Intial Commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("itchio/butler"));
|
||||
Reference in New Issue
Block a user