homebrew-core/Formula/monolith.rb

26 lines
896 B
Ruby
Raw Normal View History

class Monolith < Formula
desc "CLI tool for saving complete web pages as a single HTML file"
homepage "https://github.com/Y2Z/monolith"
url "https://github.com/Y2Z/monolith/archive/v2.1.0.tar.gz"
sha256 "966dadf31f174dcc21a73110bc432ed05789cef899ec3aaa035d9e5c2b17258a"
2019-11-22 00:00:20 +00:00
bottle do
cellar :any_skip_relocation
sha256 "e999c699c71652b99e8b9815c465979f762f8c73a76331130551ebf92e4f658c" => :catalina
sha256 "8a5fb488b300e28d29691bffb530c29d2a45c12dd44c228d24d86d3d7d473b5a" => :mojave
sha256 "589877c03351b3dd89555cc3463c0f5e4339732d0ab7fbe8fb8d346826256326" => :high_sierra
end
depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "openssl@1.1"
def install
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do
system bin/"monolith", "https://lyrics.github.io/db/p/portishead/dummy/roads"
end
end