From dbcced3f53f315c76080a1d76304096612ed2d99 Mon Sep 17 00:00:00 2001 From: Victor Popkov Date: Sun, 19 Jul 2015 17:27:35 +0300 Subject: [PATCH] lmms.rb: upgrade to v1.1.3 for :lion and older --- Casks/lmms.rb | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Casks/lmms.rb b/Casks/lmms.rb index 85129476298..e8f3beeebdc 100644 --- a/Casks/lmms.rb +++ b/Casks/lmms.rb @@ -1,9 +1,18 @@ cask :v1 => 'lmms' do - version '1.0.99' - sha256 '2ce390337a2ee372f76812b5c308ac8f3faad6981d99f0eb3b843149e3ebc98c' + if MacOS.release <= :snow_leopard + version '1.0.99' + sha256 '2ce390337a2ee372f76812b5c308ac8f3faad6981d99f0eb3b843149e3ebc98c' + + # github.com is the official download host per the vendor homepage + url "https://github.com/LMMS/lmms/releases/download/v#{version}/lmms-#{version}.dmg" + else + version '1.1.3' + sha256 '6d5197e6e5edd4a08cb26fc98ee229308833b4f759e9d9724a745ab1035aba15' + + # github.com is the official download host per the vendor homepage + url "https://github.com/LMMS/lmms/releases/download/v#{version}/lmms-#{version}-mac10.7.dmg" + end - # github.com is the official download host per the vendor homepage - url "https://github.com/LMMS/lmms/releases/download/v#{version}/lmms-#{version}.dmg" appcast 'https://github.com/LMMS/lmms/releases.atom' name 'LMMS' homepage 'https://lmms.io'