From: Ruben Beltran del Rio Date: Mon, 13 Jan 2025 19:35:42 +0000 (+0100) Subject: Add page 1.4.2 X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/commitdiff_plain/refs/heads/main?ds=sidebyside Add page 1.4.2 --- diff --git a/Formula/page-1.4.2.rb b/Formula/page-1.4.2.rb new file mode 100644 index 0000000..2d3b865 --- /dev/null +++ b/Formula/page-1.4.2.rb @@ -0,0 +1,23 @@ +class Page < Formula + desc "A static website generator for exactly 1 use case." + 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 + license "AGPL-3.0-or-later" + head "https://git.sr.ht/~rbdr/page", branch: "main" + version "1.4.2" + + def install + bin.install "page" + end + + test do + (testpath/"_layout.html").write("{{ content }}") + system "#{bin}/page" + end +end diff --git a/Formula/page.rb b/Formula/page.rb index 7bb18e8..2d3b865 100644 --- a/Formula/page.rb +++ b/Formula/page.rb @@ -2,15 +2,15 @@ class Page < Formula desc "A static website generator for exactly 1 use case." 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" + 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.1.tar.gz" - sha256 "aa8f187820d39ea2b0d90f181f184007e6d1bb1070df8f6110ec4f5b3e5e80c7" + url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.2.tar.gz" + sha256 "90171189690634b32e8b3dcdaaf9618c8d82740502f48dd682768fe4392cb310" end license "AGPL-3.0-or-later" head "https://git.sr.ht/~rbdr/page", branch: "main" - version "1.4.1" + version "1.4.2" def install bin.install "page"