-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
qbittorrent@lt20.rb
33 lines (27 loc) 路 1.19 KB
/
qbittorrent@lt20.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cask "qbittorrent@lt20" do
version "4.6.4"
sha256 "be24d257b8c5b6d1f7aa77bbf96df64edbbf5991cfed0c81b38663a213f60694"
url "https://downloads.sourceforge.net/qbittorrent/qbittorrent-mac/qbittorrent-#{version}/qbittorrent-#{version}_lt20.dmg",
verified: "downloads.sourceforge.net/qbittorrent/qbittorrent-mac/"
name "qBittorrent"
desc "Edition of qBitorrent based on libtorrent-rasterbar 2.0.x"
homepage "https://www.qbittorrent.org/"
livecheck do
url "https://sourceforge.net/projects/qbittorrent/rss?path=/qbittorrent-mac"
regex(/qbittorrent[._-]v?(\d+(?:\.\d+)+)[._-]lt20\.dmg/i)
strategy :page_match
end
deprecate! date: "2025-05-01", because: :unsigned
conflicts_with cask: "qbittorrent"
depends_on macos: ">= :mojave"
# 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