]> git.r.bdr.sh - rbdr/homebrew-apps/blame - Formula/page.rb
Update page to 1.4.1
[rbdr/homebrew-apps] / Formula / page.rb
CommitLineData
8c0224ed
RBR
1class Page < Formula
2 desc "A static website generator for exactly 1 use case."
1f27122e 3 homepage "https://r.bdr.sh/page.html"
fc6e17ea 4 if Hardware::CPU.arm?
9cb5b3f8
RBR
5 url "https://build.r.bdr.sh/page/page-aarch64-apple-darwin-1.4.1.tar.gz"
6 sha256 "6b11c93a4863d90d0eff521c568d3436721c68ee1bf181ca9d23077af0170511"
fc6e17ea 7 else
9cb5b3f8
RBR
8 url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.1.tar.gz"
9 sha256 "aa8f187820d39ea2b0d90f181f184007e6d1bb1070df8f6110ec4f5b3e5e80c7"
fc6e17ea 10 end
1f27122e 11 license "AGPL-3.0-or-later"
2f92c0b7 12 head "https://git.sr.ht/~rbdr/page", branch: "main"
9cb5b3f8 13 version "1.4.1"
8c0224ed
RBR
14
15 def install
fc6e17ea 16 bin.install "page"
8c0224ed
RBR
17 end
18
19 test do
20 (testpath/"_layout.html").write("{{ content }}")
21 system "#{bin}/page"
22 end
23end