homebrew-core/Formula/savana.rb
Baptiste Fontaine c7d411b077 savana: URL fixed
The previous URL was redirecting to an HTML page.

Closes Homebrew/homebrew#39761.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-15 09:09:43 +01:00

22 lines
708 B
Ruby

class Savana < Formula
homepage "http://savana.codehaus.org"
url "https://web.archive.org/web/20150505235416/http://repository.codehaus.org/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