homebrew-cask/Casks/moneywell.rb

29 lines
1.0 KiB
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
2016-02-02 00:30:11 +08:00
# zenvilla.com/mw was verified as official when first introduced to the cask
2015-09-26 07:55:49 +08:00
url "http://zenvilla.com/mw/builds/MoneyWell-#{version}.zip"
2016-02-02 00:30:11 +08:00
appcast "http://nothirst.com/feeds/MoneyWell#{version.major}Appcast.xml",
checkpoint: 'c15c3d7d302707b80fe7256771ac8add22478defe9280e6b4d57784be271a936'
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
depends_on macos: '>= :tiger'
2015-07-02 22:21:50 +08:00
2014-09-16 00:05:58 +08:00
app 'MoneyWell.app'
2013-12-07 11:12:49 +08:00
end