aboutsummaryrefslogtreecommitdiff
path: root/Formula
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-17 16:19:19 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-17 16:19:19 +0200
commit66c397523b2b99c1c1fd115ad44bbc2581bbcb05 (patch)
treef815910eede22fbd5a93320c82c921006fe5d45a /Formula
parent7b039899da7ef50664e4004aa625e3aab31666f8 (diff)
Add page 4
Diffstat (limited to 'Formula')
-rw-r--r--Formula/lyricli-4.0.0.rb21
-rw-r--r--Formula/lyricli.rb10
2 files changed, 26 insertions, 5 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
diff --git a/Formula/lyricli.rb b/Formula/lyricli.rb
index cc07402..6836f79 100644
--- a/Formula/lyricli.rb
+++ b/Formula/lyricli.rb
@@ -2,11 +2,11 @@ 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-3.0.0.tar.gz"
- sha256 "8e83e2b8c1fd4304637b0b3f035f312c7f47df958214324b05a82a4ce8abe34d"
+ 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-3.0.0.tar.gz"
- sha256 "676122bbf34aa695f8b56674649b2eb70f3e3885876be0e3f55b6686714ebcc7"
+ 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"
@@ -16,6 +16,6 @@ class Lyricli < Formula
end
test do
- assert_match "3.0.0", shell_output("#{bin}/lrc --version")
+ assert_match "4.0.0", shell_output("#{bin}/lrc --version")
end
end