From: Ruben Beltran del Rio Date: Mon, 17 Apr 2023 18:48:21 +0000 (+0200) Subject: Add license and tag X-Git-Url: https://git.r.bdr.sh/rbdr/homebrew-apps/commitdiff_plain/77fd2cc0bebfad01875cf368c3875b611df8a750 Add license and tag --- diff --git a/Formula/lyricli-2.0.0.rb b/Formula/lyricli-2.0.0.rb index 4d37a6d..9198028 100644 --- a/Formula/lyricli-2.0.0.rb +++ b/Formula/lyricli-2.0.0.rb @@ -2,6 +2,7 @@ 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" + license "Apache-2.0" sha256 "d6cc3879d3daafddf728158d8ffbe79cae7a1bad4bf5a72e57976a5ceb179fd7" head "https://git.sr.ht/~rbdr/lyricli" diff --git a/Formula/lyricli-2.0.1.rb b/Formula/lyricli-2.0.1.rb index 50f7034..c3f52cc 100644 --- a/Formula/lyricli-2.0.1.rb +++ b/Formula/lyricli-2.0.1.rb @@ -2,6 +2,7 @@ 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.1-universal.tar.gz" + license "Apache-2.0" sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea" head "https://git.sr.ht/~rbdr/lyricli" diff --git a/Formula/lyricli.rb b/Formula/lyricli.rb index 50f7034..c3f52cc 100644 --- a/Formula/lyricli.rb +++ b/Formula/lyricli.rb @@ -2,6 +2,7 @@ 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.1-universal.tar.gz" + license "Apache-2.0" sha256 "105313ed4ca9dc90a6cadbcfd3c0ca578c99678972d3085d87f3022d99c436ea" head "https://git.sr.ht/~rbdr/lyricli" diff --git a/Formula/page.rb b/Formula/page.rb index 028df4b..66b1f4e 100644 --- a/Formula/page.rb +++ b/Formula/page.rb @@ -4,7 +4,7 @@ class Page < Formula 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 diff --git "a/\\" "b/\\" new file mode 100644 index 0000000..66b1f4e --- /dev/null +++ "b/\\" @@ -0,0 +1,24 @@ +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