homebrew-cask/Casks/onyx.rb

38 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'onyx' do
2014-10-07 22:49:53 +08:00
version :latest
sha256 :no_check
macos_release = MacOS.release.to_s.delete('.')
if MacOS.release <= :yosemite
url "http://www.titanium.free.fr/download/#{macos_release}/OnyX.dmg"
else
# joel.barriere.pagesperso-orange.fr was verified as official when first introduced to the cask
url "http://joel.barriere.pagesperso-orange.fr/download/#{macos_release}/OnyX.dmg"
end
2015-04-17 04:31:33 +08:00
name 'OnyX'
homepage 'http://www.titanium.free.fr/onyx.html'
license :gratis
2014-10-07 22:49:53 +08:00
# Unusual case: The software will stop working, or is dangerous to run, on the next macOS release.
2016-07-11 00:14:23 +08:00
depends_on macos: [
:tiger,
:leopard,
:snow_leopard,
:lion,
:mountain_lion,
:mavericks,
:yosemite,
:el_capitan,
]
app 'OnyX.app'
caveats do
2014-12-11 00:55:21 +08:00
if [:leopard, :tiger].include?(MacOS.release.to_sym)
puts 'OnyX only runs from an Administrator account on this version of OS X.'
end
end
2013-06-25 22:53:54 +08:00
end