homebrew-cask/Casks/tower.rb

26 lines
1008 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'tower' do
2015-12-23 12:49:55 +08:00
version '2.3.3-302-6f2959a3'
sha256 '5c23102b735172bc311cd811f7dec8a98a40c2c0cff2cefc9960f930c2515bc8'
# amazonaws.com is the official download host per the vendor homepage
url "https://fournova-app-updates.s3.amazonaws.com/apps/tower#{version.to_i}-mac/#{version.sub(%r{^.*?-}, '')}/Tower-#{version.to_i}-#{version.sub(%r{-[^-]*$}, '')}.zip"
2015-08-02 03:56:45 +08:00
appcast "https://updates.fournova.com/updates/tower#{version.to_i}-mac/stable",
2015-10-12 02:26:39 +08:00
:sha256 => '40c701368d0ceea7fcbdaa0f09a86004869ae823423b2fcc87797590fab06669'
2015-01-30 04:48:29 +08:00
name 'Tower'
homepage 'https://www.git-tower.com/'
2015-01-30 04:48:29 +08:00
license :commercial
2014-09-16 00:06:31 +08:00
app 'Tower.app'
binary 'Tower.app/Contents/MacOS/gittower'
2014-11-22 22:24:21 +08:00
2014-09-18 19:58:00 +08:00
zap :delete => [
"~/Library/Application Support/com.fournova.Tower#{version.to_i}",
"~/Library/Caches/com.fournova.Tower#{version.to_i}",
"~/Library/Preferences/com.fournova.Tower#{version.to_i}.plist",
2014-09-18 19:58:00 +08:00
]
2015-03-30 22:40:06 +08:00
caveats do
files_in_usr_local
end
2013-06-22 15:39:35 +08:00
end