homebrew-cask/Casks/dendroscope.rb

25 lines
768 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'dendroscope' do
2015-07-30 05:31:45 +08:00
version '3.3.2'
sha256 '21eccfc97aba6400ecb9d81f1bc02a1f8fc9c4cd07e6c09b5f310d414b00c7e2'
2016-02-12 07:52:11 +08:00
# 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"
2015-07-30 05:31:45 +08:00
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
2015-08-07 21:51:30 +08:00
2016-01-13 00:59:57 +08:00
caveats do
depends_on_java
end
2015-07-30 05:31:45 +08:00
end