homebrew-cask/Casks/deeper.rb

45 lines
1.4 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:41 +08:00
cask :v1 => 'deeper' do
2014-09-17 19:42:42 +08:00
version :latest
2014-05-08 20:51:31 +08:00
sha256 :no_check
2014-12-11 00:55:19 +08:00
if MacOS.release == :tiger
url 'http://www.titanium.free.fr/download/104/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :leopard
url 'http://www.titanium.free.fr/download/105/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :snow_leopard
url 'http://www.titanium.free.fr/download/106/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :lion
url 'http://www.titanium.free.fr/download/107/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :mountain_lion
url 'http://www.titanium.free.fr/download/108/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :mavericks
url 'http://www.titanium.free.fr/download/109/Deeper.dmg'
2014-12-11 00:55:19 +08:00
elsif MacOS.release == :yosemite
url 'http://www.titanium.free.fr/download/1010/Deeper.dmg'
else
2015-01-05 23:40:34 +08:00
# Unusual case: there is no fall-through. The software will stop
# working, or is dangerous to run, on the next OS X release.
end
homepage 'http://www.titanium.free.fr/deeper.html'
license :gratis
2014-09-16 00:05:27 +08:00
app 'Deeper.app'
2014-10-07 22:39:32 +08:00
depends_on :macos => %w{
:tiger
:leopard
:snow_leopard
:lion
:mountain_lion
:mavericks
:yosemite
}
caveats do
2014-12-11 00:55:19 +08:00
if [:leopard, :tiger].include?(MacOS.release.to_sym)
puts 'Deeper only runs from an Administrator account on this version of OS X.'
end
end
end