homebrew-cask/Casks/dendroscope.rb

25 lines
768 B
Ruby

cask 'dendroscope' do
version '3.3.2'
sha256 '21eccfc97aba6400ecb9d81f1bc02a1f8fc9c4cd07e6c09b5f310d414b00c7e2'
# 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.gsub('.', '_')}.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