homebrew-core/Formula/ditaa.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

12 lines
330 B
Ruby

require 'formula'
class Ditaa < Formula
homepage 'http://ditaa.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/ditaa/ditaa/0.9/ditaa0_9.zip'
sha1 '3efe5a3710627e19a414c305c82f0e58adf7c4f2'
def install
libexec.install "ditaa0_9.jar"
bin.write_jar_script libexec/'ditaa0_9.jar', 'ditaa'
end
end