homebrew-core/Formula/dehydrated.rb
2018-01-13 22:55:22 -08:00

26 lines
907 B
Ruby

class Dehydrated < Formula
desc "LetsEncrypt/acme client implemented as a shell-script"
homepage "https://dehydrated.de"
url "https://github.com/lukas2511/dehydrated/archive/v0.5.0.tar.gz"
sha256 "3559de9c61f8cb9dda1d247fbb88d94eddcf2d9421941dad73b1d672cb933abe"
bottle do
cellar :any_skip_relocation
sha256 "3405d46444ee47e705f48c38bc046a4af85afd14959eefd7b3edcefa71a0de25" => :high_sierra
sha256 "3405d46444ee47e705f48c38bc046a4af85afd14959eefd7b3edcefa71a0de25" => :sierra
sha256 "3405d46444ee47e705f48c38bc046a4af85afd14959eefd7b3edcefa71a0de25" => :el_capitan
end
def install
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/lukas2511/dehydrated").install buildpath.children
cd "src/github.com/lukas2511/dehydrated" do
bin.install "dehydrated"
prefix.install_metafiles
end
end
test do
system bin/"dehydrated", "--help"
end
end