homebrew-cask/Casks/dendroscope.rb

25 lines
773 B
Ruby

cask 'dendroscope' do
version '3.5.7'
sha256 '9da20a38eff7588c19cb7521fc10fea0a1d3bfe038e1c11774018659ac0d7eca'
# ab.inf.uni-tuebingen.de/data/software/dendroscope3 was verified as official when first introduced to the cask
url "http://ab.inf.uni-tuebingen.de/data/software/dendroscope3/download/Dendroscope_macos_#{version.dots_to_underscores}.dmg"
name 'Dendroscope'
homepage 'http://dendroscope.org/'
license :gpl
app 'Dendroscope.app'
preflight do
system "#{staged_path}/Dendroscope Installer.app/Contents/MacOS/JavaApplicationStub", '-q', '-dir', staged_path.to_s
end
uninstall_preflight do
system "#{staged_path}/Dendroscope Uninstaller.app/Contents/MacOS/JavaApplicationStub", '-q'
end
caveats do
depends_on_java
end
end