]> git.r.bdr.sh - rbdr/homebrew-apps/blobdiff - Formula/page.rb
Update page to 1.4.1
[rbdr/homebrew-apps] / Formula / page.rb
index 77954a1e56e7970fb8e31e21051899579c9611c6..7bb18e881a1447d946b28b6ca513442bbef42893 100644 (file)
@@ -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.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
-
-  depends_on "rust" => :build
+  license "AGPL-3.0-or-later"
+  head "https://git.sr.ht/~rbdr/page", branch: "main"
+  version "1.4.1"
 
   def install
-    system "cargo", "install", *std_cargo_args
+    bin.install "page"
   end
 
   test do