X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/blobdiff_plain/c1207eaa1fc851851c89e16592e93efd282c9c54..fc6e17ea555035c087f54348128f1dcca2bb9e9c:/Formula/page.rb?ds=sidebyside diff --git a/Formula/page.rb b/Formula/page.rb index 3a57ab6..5d82ec7 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://git.sr.ht/~rbdr/page" - url "https://git.sr.ht/~rbdr/page", tag: "1.3.1" - license "Apache-2.0" + homepage "https://r.bdr.sh/page.html" + if Hardware::CPU.arm? + url "https://build.r.bdr.sh/page/page-aarch64-apple-darwin-1.4.0.tar.gz" + sha256 "9878a234910d1f1019711e632c25abea446ec97a62a45ed28fb2214d32b2b71c" + else + url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.0.tar.gz" + sha256 "5508d82e447903a24975af7668475adacde8eeb327980b38f6e397a17228d4b8" + end + license "AGPL-3.0-or-later" head "https://git.sr.ht/~rbdr/page", branch: "main" - version "1.3.1" - - depends_on "rust" => :build + version "1.4.0" def install - system "cargo", "install", *std_cargo_args + bin.install "page" end test do