homebrew-cask/Casks/utorrent.rb

28 lines
1.0 KiB
Ruby
Raw Normal View History

2014-11-14 01:27:16 +08:00
cask :v1 => 'utorrent' do
2014-10-04 22:07:59 +08:00
version :latest
sha256 :no_check
if Hardware::CPU.type == :ppc
url 'http://download-new.utorrent.com/endpoint/utmac/os/osx-ppc/track/stable/'
app 'uTorrent.app'
else
url 'http://download-new.utorrent.com/endpoint/utmac/os/osx/track/stable/'
appcast 'http://update.utorrent.com/checkupdate.php'
2015-03-29 22:43:04 +08:00
installer :manual => 'uTorrent.app'
end
name 'µTorrent'
2012-11-19 13:13:43 +08:00
homepage 'http://www.utorrent.com/'
license :freemium
zap :delete => [
'~/Library/Application Support/uTorrent',
'~/Library/Preferences/com.bittorrent.uTorrent.plist',
'~/Library/Preferences/com.bittorrent.uTorrent-Installer.plist',
'~/Library/Saved Application State/com.bittorrent.uTorrent.savedState',
'~/Library/Saved Application State/com.bittorrent.uTorrent-Installer.savedState',
'~/Library/Caches/com.bittorrent.uTorrent',
'~/Library/Caches/com.bittorrent.uTorrent-Installer'
]
2012-03-10 17:15:33 +08:00
end