436232c546
Closes #20159. Signed-off-by: William Woodruff <william@tuffbizz.com>
24 lines
752 B
Ruby
24 lines
752 B
Ruby
class VaultCli < Formula
|
|
desc "Subversion-like utility to work with Jackrabbit FileVault"
|
|
homepage "https://jackrabbit.apache.org/filevault/index.html"
|
|
url "https://search.maven.org/remotecontent?filepath=org/apache/jackrabbit/vault/vault-cli/3.1.40/vault-cli-3.1.40-bin.tar.gz"
|
|
sha256 "c08f46a61afa170aeed0230d710e7de9034740592e24ee6589d7ea9d992109d5"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java
|
|
|
|
def install
|
|
# Remove windows files
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
libexec.install Dir["*"]
|
|
bin.install Dir["#{libexec}/bin/*"]
|
|
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env)
|
|
end
|
|
|
|
test do
|
|
# Bad test, but we're limited without a Jackrabbit repo to speak to...
|
|
system "#{bin}/vlt", "--version"
|
|
end
|
|
end
|