homebrew-cask/Casks/qbittorrent.rb

26 lines
964 B
Ruby

cask "qbittorrent" do
version "4.3.1"
sha256 "e5060067cfbe32443c00e9f5ddb700968a3a12d2e0486dc3442243d33350204c"
url "https://downloads.sourceforge.net/qbittorrent/qbittorrent-mac/qbittorrent-#{version}/qbittorrent-#{version}.dmg",
verified: "sourceforge.net/qbittorrent/"
appcast "https://sourceforge.net/projects/qbittorrent/rss?path=/qbittorrent-mac"
name "qBittorrent"
desc "Peer to peer Bitorrent client"
homepage "https://www.qbittorrent.org/"
depends_on macos: ">= :high_sierra"
# Renamed for consistency: app name is different in the Finder and in a shell.
app "qbittorrent.app", target: "qBittorrent.app"
zap trash: [
"~/.config/qBittorrent",
"~/Library/Application Support/qBittorrent",
"~/Library/Caches/qBittorrent",
"~/Library/Preferences/org.qbittorrent.qBittorrent.plist",
"~/Library/Preferences/qBittorrent",
"~/Library/Saved Application State/org.qbittorrent.qBittorrent.savedState",
]
end