X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/blobdiff_plain/c29d860f3b2912446815b075db93f11d3345475d..9cb5b3f86ab25e645c6c8e0cc13b7a53c96b5ff0:/Formula/page.rb diff --git a/Formula/page.rb b/Formula/page.rb index 52df243..7bb18e8 100644 --- a/Formula/page.rb +++ b/Formula/page.rb @@ -1,15 +1,19 @@ class Page < Formula desc "A static website generator for exactly 1 use case." homepage "https://r.bdr.sh/page.html" - url "https://git.sr.ht/~rbdr/page", tag: "1.3.2" + if Hardware::CPU.arm? + url "https://build.r.bdr.sh/page/page-aarch64-apple-darwin-1.4.1.tar.gz" + sha256 "6b11c93a4863d90d0eff521c568d3436721c68ee1bf181ca9d23077af0170511" + else + url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.1.tar.gz" + sha256 "aa8f187820d39ea2b0d90f181f184007e6d1bb1070df8f6110ec4f5b3e5e80c7" + end license "AGPL-3.0-or-later" head "https://git.sr.ht/~rbdr/page", branch: "main" - version "1.3.2" - - depends_on "rust" => :build + version "1.4.1" def install - system "cargo", "install", *std_cargo_args + bin.install "page" end test do