goldencheetah.rb: upgrade to v3.2.0, add x32 bit version

This commit is contained in:
Victor Popkov 2015-08-15 18:50:44 +03:00
parent e3e57aa62a
commit b92e52d06e
1 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,16 @@
cask :v1 => 'goldencheetah' do
version '3.1'
sha256 '53daceee5b54baa742278e370b2bada1ba02d32c9fa77afa757dd5cb51f4fb52'
version '3.2.0'
if Hardware::CPU.is_32_bit?
sha256 'db408f128ed4e7f20f122d2f6e92cad2accc9b145825e5658b37662db1f64cbe'
# github.com is the official download host per the vendor homepage
url "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/V#{version.to_f}/GoldenCheetah_#{version}_QT4_32bit.dmg"
else
sha256 '77a4dc1e73af42390b8eee94646a81a8990e11302fe1b70f50e48ad26c678f49'
# github.com is the official download host per the vendor homepage
url "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/V#{version.to_f}/GoldenCheetah_#{version}_QT5_64bit.dmg"
end
url "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v#{version}/GoldenCheetah-64bit-#{version}.0-QT5.dmg"
appcast 'https://github.com/GoldenCheetah/GoldenCheetah/releases.atom'
name 'GoldenCheetah'
homepage 'http://www.goldencheetah.org/'