add Homebrew cask so BrewBar installs via brew
The repo doubles as a Homebrew tap: brew tap accepts an explicit git URL, so Casks/brewbar.rb here is enough — no separate homebrew-* repo. The cask downloads the zipped Release build from the matching Forgejo release (v<version>) and verifies it against the pinned sha256. dist/ (local release artifacts) is gitignored. Install: brew tap maxsoch/brewbar https://forgejo.socheleau.fr/maxsoch/BrewBar.git brew install --cask --no-quarantine maxsoch/brewbar/brewbar Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
ec33fbcf6c
commit
5c6b46ef7a
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
||||||
CLAUDE.local.md
|
CLAUDE.local.md
|
||||||
.claude/settings.local.json
|
.claude/settings.local.json
|
||||||
build/
|
build/
|
||||||
|
dist/
|
||||||
|
|
|
||||||
18
Casks/brewbar.rb
Normal file
18
Casks/brewbar.rb
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
cask "brewbar" do
|
||||||
|
version "1.0"
|
||||||
|
sha256 "c30d33c454190568fb1652320313537abf665dd3b7f1de9dd495e8d29f6d04f8"
|
||||||
|
|
||||||
|
url "https://forgejo.socheleau.fr/maxsoch/BrewBar/releases/download/v#{version}/BrewBar-#{version}.zip"
|
||||||
|
name "BrewBar"
|
||||||
|
desc "Menu bar app to monitor and upgrade Homebrew packages"
|
||||||
|
homepage "https://forgejo.socheleau.fr/maxsoch/BrewBar"
|
||||||
|
|
||||||
|
depends_on macos: ">= :sequoia"
|
||||||
|
|
||||||
|
app "BrewBar.app"
|
||||||
|
|
||||||
|
zap trash: [
|
||||||
|
"~/Library/Application Support/BrewBar",
|
||||||
|
"~/Library/Preferences/com.MaxSoch.BrewBar.plist",
|
||||||
|
]
|
||||||
|
end
|
||||||
Loading…
Reference in a new issue