homebrew-core/Formula/vault-cli.rb
Viktor Szakáts d9f9a183a3 vault-cli: use https url
Closes Homebrew/homebrew#38126.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-28 01:08:56 +08:00

18 lines
577 B
Ruby

class VaultCli < Formula
homepage "https://jackrabbit.apache.org/filevault/index.html"
url "https://search.maven.org/remotecontent?filepath=org/apache/jackrabbit/vault/vault-cli/3.1.6/vault-cli-3.1.6-bin.tar.gz"
sha256 "639ccdc5c70eb75c2423b6ae62e0560a2056d2cea34cc82ed99504a097bfce88"
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
libexec.install Dir["*"]
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
# Bad test, but we're limited without a Jackrabbit repo to speak to...
system "#{bin}/vlt", "--version"
end
end