gpower: add livecheck (#97748)

This commit is contained in:
Markus Reiter 2021-01-10 19:14:15 +01:00 committed by GitHub
parent d85ff6f532
commit ca6418fec4
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,10 +3,15 @@ cask "gpower" do
sha256 "3faabed05929251901da704205a34385cfe4fc7516ba31f92e1cd9ac8086e572"
url "https://www.psychologie.hhu.de/fileadmin/redaktion/Fakultaeten/Mathematisch-Naturwissenschaftliche_Fakultaet/Psychologie/AAP/gpower/GPowerMac_#{version}.zip"
appcast "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
name "G*Power"
desc "Tool to compute statistical power analyses"
homepage "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
livecheck do
url "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
strategy :page_match
regex(%r{href=.*?/GPowerMac_(\d+(?:\.\d+)*)\.zip}i)
end
app "G*Power.app"
end