wine-stable: add livecheck (#97915)

This commit is contained in:
Markus Reiter 2021-01-11 02:55:11 +01:00 committed by GitHub
parent 3f2e8e0eed
commit 374d90945b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3,11 +3,16 @@ cask "wine-stable" do
sha256 "de2b23342edfa29a1518d8940992e855d30b3416084964311f184c9fdfb146a5"
url "https://dl.winehq.org/wine-builds/macosx/pool/winehq-stable-#{version}.pkg"
appcast "https://dl.winehq.org/wine-builds/macosx/download.html"
name "WineHQ-stable"
desc "Compatibility layer to run Windows applications"
homepage "https://wiki.winehq.org/MacOS"
livecheck do
url "https://dl.winehq.org/wine-builds/macosx/download.html"
strategy :page_match
regex(%r{href=.*?/winehq-stable-(\d+(?:\.\d+)*)\.pkg}i)
end
conflicts_with cask: [
"wine-devel",
"wine-staging",