]> git.r.bdr.sh - rbdr/homebrew-apps/commitdiff
Add Formula
authorRuben Beltran del Rio <redacted>
Mon, 10 Apr 2023 20:32:00 +0000 (22:32 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 10 Apr 2023 20:32:00 +0000 (22:32 +0200)
Formula/lyricli-2.0.0.rb [new file with mode: 0644]
Formula/lyricli.rb [new file with mode: 0644]

diff --git a/Formula/lyricli-2.0.0.rb b/Formula/lyricli-2.0.0.rb
new file mode 100644 (file)
index 0000000..4d37a6d
--- /dev/null
@@ -0,0 +1,15 @@
+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"
+  sha256 "d6cc3879d3daafddf728158d8ffbe79cae7a1bad4bf5a72e57976a5ceb179fd7"
+  head "https://git.sr.ht/~rbdr/lyricli"
+
+  def install
+    bin.install "lrc"
+  end
+
+  test do
+    assert_match "2.0.0", shell_output("#{bin}/lrc --version")
+  end
+end
diff --git a/Formula/lyricli.rb b/Formula/lyricli.rb
new file mode 100644 (file)
index 0000000..4d37a6d
--- /dev/null
@@ -0,0 +1,15 @@
+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"
+  sha256 "d6cc3879d3daafddf728158d8ffbe79cae7a1bad4bf5a72e57976a5ceb179fd7"
+  head "https://git.sr.ht/~rbdr/lyricli"
+
+  def install
+    bin.install "lrc"
+  end
+
+  test do
+    assert_match "2.0.0", shell_output("#{bin}/lrc --version")
+  end
+end