X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/blobdiff_plain/2f92c0b77e12821e5dcdce95329a66da64f72fd0..3eee1e01b8efb0244f234e532e1c5656bf594bdf:/Formula/page.rb diff --git a/Formula/page.rb b/Formula/page.rb index 77954a1..2d3b865 100644 --- a/Formula/page.rb +++ b/Formula/page.rb @@ -1,21 +1,19 @@ class Page < Formula desc "A static website generator for exactly 1 use case." - homepage "https://github.com/BurntSushi/ripgrep" - url "https://git.sr.ht/~rbdr/page", tag: "1.0.0" - sha256 "0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2" - license "Apache-2.0" - head "https://git.sr.ht/~rbdr/page", branch: "main" - version "1.0.0" - - livecheck do - url :stable - strategy :github_latest + homepage "https://r.bdr.sh/page.html" + if Hardware::CPU.arm? + url "https://build.r.bdr.sh/page/page-aarch64-apple-darwin-1.4.2.tar.gz" + sha256 "162e684b8b724dd89ed5d8c8331d46809e5a8dc0da9688acd1aa9dcb389b1e4c" + else + url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.2.tar.gz" + sha256 "90171189690634b32e8b3dcdaaf9618c8d82740502f48dd682768fe4392cb310" end - - depends_on "rust" => :build + license "AGPL-3.0-or-later" + head "https://git.sr.ht/~rbdr/page", branch: "main" + version "1.4.2" def install - system "cargo", "install", *std_cargo_args + bin.install "page" end test do