Add a formula for installing the share CLI

Lets `brew install share` pull the versioned release archive from the
share repository's Gitea releases instead of building from source.
This commit is contained in:
2026-09-11 16:42:59 +08:00
parent fb4374f64b
commit c86e147b1a
2 changed files with 39 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
class Share < Formula
desc "BitTorrent-style swarm file sharing CLI with a background daemon"
homepage "https://gitea.tzgyn.dev/TZGyn/share"
url "https://gitea.tzgyn.dev/TZGyn/share/releases/download/v0.1.0/share-0.1.0-darwin-arm64.tar.gz"
sha256 "9e0d8d721b8ec272cc9c6f3e5b7c72dc727f8d01e0c17c20c4ff94977d1b48eb"
version "0.1.0"
def install
bin.install "share"
end
end