diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-18 20:03:16 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-18 20:03:16 +0200 |
| commit | 14148c23d64b97482c09bc70f23ed8fbc3882f98 (patch) | |
| tree | 0890abf4fa0e7063087e0b037da80f137fe05aa3 /Formula/blog-7.1.0.rb | |
| parent | 66c397523b2b99c1c1fd115ad44bbc2581bbcb05 (diff) | |
Update blog to use binary and not rust
Diffstat (limited to 'Formula/blog-7.1.0.rb')
| -rw-r--r-- | Formula/blog-7.1.0.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Formula/blog-7.1.0.rb b/Formula/blog-7.1.0.rb new file mode 100644 index 0000000..3e7b6a2 --- /dev/null +++ b/Formula/blog-7.1.0.rb @@ -0,0 +1,21 @@ +class Blog < Formula + desc "An almost ephemeral blog with a gopher / gemini archive." + homepage "https://r.bdr.sh/blog.html" + if Hardware::CPU.arm? + url "https://build.r.bdr.sh/blog/blog-aarch64-apple-darwin-7.1.0.tar.gz" + sha256 "c627e2aa82d38d4df6d4b12dcb382bf47f5e48f0a916e087d56a507b4568b8bc" + else + url "https://build.r.bdr.sh/blog/blog-x86_64-apple-darwin-7.1.0.tar.gz" + sha256 "6a37c998337fe05851c57dff21fb5afc845482ec7b533f545fa67cc847ce9bfa" + end + license "AGPL-3.0-or-later" + head "https://git.sr.ht/~rbdr/blog", branch: "main" + + def install + bin.install "blog" + end + + test do + assert_match "7.1.0", shell_output("#{bin}/blog version") + end +end |