diff options
Diffstat (limited to 'Formula/lyricli-4.0.0.rb')
| -rw-r--r-- | Formula/lyricli-4.0.0.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Formula/lyricli-4.0.0.rb b/Formula/lyricli-4.0.0.rb new file mode 100644 index 0000000..6836f79 --- /dev/null +++ b/Formula/lyricli-4.0.0.rb @@ -0,0 +1,21 @@ +class Lyricli < Formula + desc "A command line tool to show the lyrics of your current song." + homepage "https://r.bdr.sh/lyricli.html" + if Hardware::CPU.arm? + url "https://build.r.bdr.sh/lyricli/lrc-aarch64-apple-darwin-4.0.0.tar.gz" + sha256 "af59e770f7c555584d8f31c32258983c49253fd6a5bd588b08388bf589300642" + else + url "https://build.r.bdr.sh/lyricli/lrc-x86_64-apple-darwin-4.0.0.tar.gz" + sha256 "2cc35b532b3845b1547200a15fd3efc16f8ec54d74c45224017465cf72de958d" + end + license "AGPL-3.0-or-later" + head "https://git.sr.ht/~rbdr/lyricli" + + def install + bin.install "lrc" + end + + test do + assert_match "4.0.0", shell_output("#{bin}/lrc --version") + end +end |