qbittorrent@lt20: migrate
This commit is contained in:
parent
996cd640cc
commit
d085e1261d
|
@ -0,0 +1,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
|
Loading…
Reference in New Issue