From 5c6b46ef7a766cb8a13ab3c2e8ed3149f84cc620 Mon Sep 17 00:00:00 2001 From: maxsoch Date: Tue, 7 Jul 2026 06:21:39 +0200 Subject: [PATCH] add Homebrew cask so BrewBar installs via brew MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) 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 --- .gitignore | 1 + Casks/brewbar.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Casks/brewbar.rb diff --git a/.gitignore b/.gitignore index 2dd0d1a..f32c734 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ CLAUDE.local.md .claude/settings.local.json build/ +dist/ diff --git a/Casks/brewbar.rb b/Casks/brewbar.rb new file mode 100644 index 0000000..43adf9e --- /dev/null +++ b/Casks/brewbar.rb @@ -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