]> git.r.bdr.sh - rbdr/homebrew-apps/blobdiff - Formula/lyricli-2.0.0.rb
Add Formula
[rbdr/homebrew-apps] / Formula / lyricli-2.0.0.rb
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