homebrew-core/Formula/savana.rb
René Schulz 448538619f savana: fix url.
Has migrated to Bintray.

Closes Homebrew/homebrew#39891.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-20 11:00:52 +01:00

22 lines
688 B
Ruby

class Savana < Formula
homepage "http://savana.codehaus.org"
url "https://bintray.com/artifact/download/bintray/jcenter/org/codehaus/savana/1.2/savana-1.2-install.tar.gz"
sha256 "608242a0399be44f41ff324d40e82104b3c62908bc35177f433dcfc5b0c9bf55"
def install
# Remove Windows files
rm_rf Dir["bin/*.{bat,cmd}"]
prefix.install %w[COPYING COPYING.LESSER licenses svn-hooks]
# lib/* and logging.properties are loaded relative to bin
libexec.install %w[bin lib logging.properties]
bin.write_exec_script libexec/"bin/sav"
bash_completion.install "etc/bash_completion" => "savana-completion.bash"
end
test do
system "#{bin}/sav", "help"
end
end