homebrew-cask/Casks/baretorrent.rb

22 lines
582 B
Ruby

cask "baretorrent" do
version "0.4.4"
sha256 "dea7c210e9b57b74fc44b498d8f5d238458ffffff3c66b2a91bd77f5cec5238d"
url "https://launchpad.net/baretorrent/trunk/#{version}/+download/baretorrent-#{version}-osx-x64.dmg"
name "baretorrent"
homepage "https://launchpad.net/baretorrent"
livecheck do
url :homepage
strategy :page_match
regex(%r{href=.*?/baretorrent-(\d+(?:\.\d+)*)-osx-x64\.dmg}i)
end
app "baretorrent.app"
zap trash: [
"~/Library/Application Support/baretorrent",
"~/Library/Saved Application State/baretorrent.savedState",
]
end