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"
+ license "Apache-2.0"
sha256 "d6cc3879d3daafddf728158d8ffbe79cae7a1bad4bf5a72e57976a5ceb179fd7"
head "https://git.sr.ht/~rbdr/lyricli"
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.1-universal.tar.gz"
+ license "Apache-2.0"
sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea"
head "https://git.sr.ht/~rbdr/lyricli"
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.1-universal.tar.gz"
+ license "Apache-2.0"
sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea"
head "https://git.sr.ht/~rbdr/lyricli"
url "https://git.sr.ht/~rbdr/page"
sha256 "0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2"
license "Apache-2.0"
- head "https://git.sr.ht/~rbdr/page", branch: "main"
+ head "https://git.sr.ht/~rbdr/page", tag: "1.0.0"
livecheck do
url :stable
--- /dev/null
+class Page < Formula
+ desc "A static website generator for exactly 1 use case."
+ homepage "https://github.com/BurntSushi/ripgrep"
+ url "https://git.sr.ht/~rbdr/page"
+ sha256 "0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2"
+ license "Apache-2.0"
+ head "https://git.sr.ht/~rbdr/page", tag: "1.0.0"
+
+ livecheck do
+ url :stable
+ strategy :github_latest
+ end
+
+ depends_on "rust" => :build
+
+ def install
+ system "cargo", "install", *std_cargo_args
+ end
+
+ test do
+ (testpath/"_layout.html").write("{{ content }}")
+ system "#{bin}/page"
+ end
+end