]> git.r.bdr.sh - rbdr/homebrew-apps/commitdiff
Add license and tag
authorRuben Beltran del Rio <redacted>
Mon, 17 Apr 2023 18:48:21 +0000 (20:48 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 17 Apr 2023 18:48:21 +0000 (20:48 +0200)
Formula/lyricli-2.0.0.rb
Formula/lyricli-2.0.1.rb
Formula/lyricli.rb
Formula/page.rb
\ [new file with mode: 0644]

index 4d37a6d7b38a3bfd43fb477d04c5d7c92319cd57..919802830c35fd900e5d81865a49e44e36b6fb73 100644 (file)
@@ -2,6 +2,7 @@ class Lyricli < Formula
   desc "A command line tool to show the lyrics of your current song."
   homepage "https://unlimited.pizza/lyricli.html"
   url "https://unlimited.pizza/files/lyricli/lrc-2.0.0-universal.tar.gz"
+  license "Apache-2.0"
   sha256 "d6cc3879d3daafddf728158d8ffbe79cae7a1bad4bf5a72e57976a5ceb179fd7"
   head "https://git.sr.ht/~rbdr/lyricli"
 
index 50f70343c4fb3ee69ce598856395a7ba6f9df8e1..c3f52cc91c7d974db2ad076197b4b77ce1f69a12 100644 (file)
@@ -2,6 +2,7 @@ class Lyricli < Formula
   desc "A command line tool to show the lyrics of your current song."
   homepage "https://unlimited.pizza/lyricli.html"
   url "https://unlimited.pizza/files/lyricli/lrc-2.0.1-universal.tar.gz"
+  license "Apache-2.0"
   sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea"
   head "https://git.sr.ht/~rbdr/lyricli"
 
index 50f70343c4fb3ee69ce598856395a7ba6f9df8e1..c3f52cc91c7d974db2ad076197b4b77ce1f69a12 100644 (file)
@@ -2,6 +2,7 @@ class Lyricli < Formula
   desc "A command line tool to show the lyrics of your current song."
   homepage "https://unlimited.pizza/lyricli.html"
   url "https://unlimited.pizza/files/lyricli/lrc-2.0.1-universal.tar.gz"
+  license "Apache-2.0"
   sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea"
   head "https://git.sr.ht/~rbdr/lyricli"
 
index 028df4b48da2765c766f2e823b540f5010f61160..66b1f4edd03386abc60f6f3f5d132c73af665726 100644 (file)
@@ -4,7 +4,7 @@ class Page < Formula
   url "https://git.sr.ht/~rbdr/page"
   sha256 "0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2"
   license "Apache-2.0"
-  head "https://git.sr.ht/~rbdr/page", branch: "main"
+  head "https://git.sr.ht/~rbdr/page", tag: "1.0.0"
 
   livecheck do
     url :stable
diff --git a/\ b/\
new file mode 100644 (file)
index 0000000..66b1f4e
--- /dev/null
+++ b/\
@@ -0,0 +1,24 @@
+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"
+  sha256 "0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2"
+  license "Apache-2.0"
+  head "https://git.sr.ht/~rbdr/page", tag: "1.0.0"
+
+  livecheck do
+    url :stable
+    strategy :github_latest
+  end
+
+  depends_on "rust" => :build
+
+  def install
+    system "cargo", "install", *std_cargo_args
+  end
+
+  test do
+    (testpath/"_layout.html").write("{{ content }}")
+    system "#{bin}/page"
+  end
+end