homebrew-cask/Casks/moneywell.rb

29 lines
1003 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'moneywell' do
2015-07-02 22:21:50 +08:00
if MacOS.release <= :tiger
version '1.4.13'
sha256 'b2eb23a4d5d9e555d00529f83d4cae43abc184c9174a4b729693b55787dfd64d'
2015-07-02 22:21:50 +08:00
url "http://downloads.nothirst.com/MoneyWell_#{version.to_f}.zip"
elsif MacOS.release <= :snow_leopard
version '1.7.3'
sha256 '6f34a57999fcc09147035f62caff7efede3a385c0f2e7b6f3f90e9a64e826410'
url "http://downloads.nothirst.com/MoneyWell_#{version.sub(%r{^(\d+)\.(\d+).*}, '\1\2')}.zip"
2015-07-02 22:21:50 +08:00
else
2015-10-04 21:11:25 +08:00
version '2.3.9'
sha256 '0d262ee3c816e30088746d56f71475c46da82362d1edb3d50cf5dd416bd35a6f'
2015-07-02 22:21:50 +08:00
2015-09-26 07:55:49 +08:00
# zenvilla.com is the official download host per the appcast feed
url "http://zenvilla.com/mw/builds/MoneyWell-#{version}.zip"
2015-07-02 22:21:50 +08:00
appcast 'http://nothirst.com/feeds/MoneyWell2Appcast.xml',
2015-10-04 21:11:25 +08:00
:sha256 => '1148b01298bca85e78043ee44c5118154926a2be5bf1443e044e6bdfe116e1c0'
2015-07-02 22:21:50 +08:00
end
2015-04-14 04:24:21 +08:00
name 'MoneyWell'
2013-12-07 11:12:49 +08:00
homepage 'http://nothirst.com/moneywell/'
2015-07-03 01:04:06 +08:00
license :commercial
2015-07-02 22:21:50 +08:00
depends_on :macos => '>= :tiger'
2014-09-16 00:05:58 +08:00
app 'MoneyWell.app'
2013-12-07 11:12:49 +08:00
end