]> git.r.bdr.sh - rbdr/homebrew-apps/commitdiff
Update page to 1.4.1
authorRuben Beltran del Rio <redacted>
Sat, 4 Jan 2025 22:51:42 +0000 (23:51 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 4 Jan 2025 22:51:42 +0000 (23:51 +0100)
Formula/page-1.4.1.rb [new file with mode: 0644]
Formula/page.rb

diff --git a/Formula/page-1.4.1.rb b/Formula/page-1.4.1.rb
new file mode 100644 (file)
index 0000000..7bb18e8
--- /dev/null
@@ -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.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
+  license "AGPL-3.0-or-later"
+  head "https://git.sr.ht/~rbdr/page", branch: "main"
+  version "1.4.1"
+
+  def install
+    bin.install "page"
+  end
+
+  test do
+    (testpath/"_layout.html").write("{{ content }}")
+    system "#{bin}/page"
+  end
+end
index 5d82ec7c485f47b2df4642ec4f8adc0bd6f114c9..7bb18e881a1447d946b28b6ca513442bbef42893 100644 (file)
@@ -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?
   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.0.tar.gz"
-    sha256 "9878a234910d1f1019711e632c25abea446ec97a62a45ed28fb2214d32b2b71c"
+    url "https://build.r.bdr.sh/page/page-aarch64-apple-darwin-1.4.1.tar.gz"
+    sha256 "6b11c93a4863d90d0eff521c568d3436721c68ee1bf181ca9d23077af0170511"
   else
   else
-    url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.0.tar.gz"
-    sha256 "5508d82e447903a24975af7668475adacde8eeb327980b38f6e397a17228d4b8"
+    url "https://build.r.bdr.sh/page/page-x86_64-apple-darwin-1.4.1.tar.gz"
+    sha256 "aa8f187820d39ea2b0d90f181f184007e6d1bb1070df8f6110ec4f5b3e5e80c7"
   end
   license "AGPL-3.0-or-later"
   head "https://git.sr.ht/~rbdr/page", branch: "main"
   end
   license "AGPL-3.0-or-later"
   head "https://git.sr.ht/~rbdr/page", branch: "main"
-  version "1.4.0"
+  version "1.4.1"
 
   def install
     bin.install "page"
 
   def install
     bin.install "page"