homebrew-core/Formula/plantuml.rb
dtan4 2fdaeeb4f2 plantuml: fix sha1 hash
Closes Homebrew/homebrew#29905.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-05 15:08:07 +01:00

19 lines
432 B
Ruby

require "formula"
class Plantuml < Formula
homepage "http://plantuml.sourceforge.net/"
url "https://downloads.sourceforge.net/project/plantuml/plantuml.7999.jar"
sha1 "c919646b276a99715f2aa76bfa3c347bca89684a"
depends_on "graphviz"
def install
jar = "plantuml.#{version}.jar"
prefix.install jar
bin.write_jar_script prefix/jar, "plantuml"
end
test do
system "#{bin}/plantuml", "-testdot"
end
end