]>
Commit | Line | Data |
---|---|---|
cdfa9083 RBR |
1 | class Lyricli < Formula |
2 | desc "A command line tool to show the lyrics of your current song." | |
3 | homepage "https://r.bdr.sh/lyricli.html" | |
4 | if Hardware::CPU.arm? | |
5 | url "https://build.r.bdr.sh/lyricli/lrc-aarch64-apple-darwin-3.0.0.tar.gz" | |
6 | sha256 "8e83e2b8c1fd4304637b0b3f035f312c7f47df958214324b05a82a4ce8abe34d" | |
7 | else | |
8 | url "https://build.r.bdr.sh/lyricli/lrc-x86_64-apple-darwin-3.0.0.tar.gz" | |
9 | sha256 "676122bbf34aa695f8b56674649b2eb70f3e3885876be0e3f55b6686714ebcc7" | |
10 | end | |
11 | license "AGPL-3.0-or-later" | |
12 | head "https://git.sr.ht/~rbdr/lyricli" | |
13 | ||
14 | def install | |
15 | bin.install "lrc" | |
16 | end | |
17 | ||
18 | test do | |
19 | assert_match "3.0.0", shell_output("#{bin}/lrc --version") | |
20 | end | |
21 | end |