cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / utorrent.rb
blob245a5f9fe22551e79e8f223d4fff2c295966d91c
1 cask :v1 => 'utorrent' do
2   version :latest
3   sha256 :no_check
5   if Hardware::CPU.type == :ppc
6     url 'http://download-new.utorrent.com/endpoint/utmac/os/osx-ppc/track/stable/'
7     app 'uTorrent.app'
8   else
9     url 'http://download-new.utorrent.com/endpoint/utmac/os/osx/track/stable/'
10     appcast 'http://update.utorrent.com/checkupdate.php'
11     installer :manual => 'uTorrent-Installer.app'
12   end
14   name 'µTorrent'
15   homepage 'http://www.utorrent.com/'
16   license :freemium
18   zap :delete => [
19                   '~/Library/Application Support/uTorrent',
20                   '~/Library/Preferences/com.bittorrent.uTorrent.plist',
21                   '~/Library/Preferences/com.bittorrent.uTorrent-Installer.plist',
22                   '~/Library/Saved Application State/com.bittorrent.uTorrent.savedState',
23                   '~/Library/Saved Application State/com.bittorrent.uTorrent-Installer.savedState',
24                   '~/Library/Caches/com.bittorrent.uTorrent',
25                   '~/Library/Caches/com.bittorrent.uTorrent-Installer'
26                  ]
27 end