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