From: Ruben Beltran del Rio Date: Mon, 10 Apr 2023 20:32:00 +0000 (+0200) Subject: Add Formula X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/commitdiff_plain/1501b9a2cac3c8b4419005e3398c0e48815d8a40 Add Formula --- diff --git a/Formula/lyricli-2.0.0.rb b/Formula/lyricli-2.0.0.rb new file mode 100644 index 0000000..4d37a6d --- /dev/null +++ b/Formula/lyricli-2.0.0.rb @@ -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 index 0000000..4d37a6d --- /dev/null +++ b/Formula/lyricli.rb @@ -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