aboutsummaryrefslogtreecommitdiff
path: root/Formula
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-10 22:32:00 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-10 22:32:00 +0200
commit1501b9a2cac3c8b4419005e3398c0e48815d8a40 (patch)
tree7dc21b0b56cc496e2657968da5a4f07bc42979c5 /Formula
parent0ebefc1b9ef006451dbd730810014d104f76fe55 (diff)
Add Formula
Diffstat (limited to 'Formula')
-rw-r--r--Formula/lyricli-2.0.0.rb15
-rw-r--r--Formula/lyricli.rb15
2 files changed, 30 insertions, 0 deletions
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