leela: add livecheck (#97779)
This commit is contained in:
parent
bd31cee47d
commit
011b811db5
|
@ -3,11 +3,16 @@ cask "leela" do
|
|||
sha256 "f2c11799f7b548e1ca1f6ba8dca330d9ec44eed4d1a53439b5bceef86e0d0ae1"
|
||||
|
||||
url "https://sjeng.org/dl/Leela_#{version}.dmg"
|
||||
appcast "https://sjeng.org/leela.html"
|
||||
name "Leela"
|
||||
desc "Go playing program with easy to use graphical interface"
|
||||
homepage "https://sjeng.org/leela.html"
|
||||
|
||||
livecheck do
|
||||
url "https://sjeng.org/leela.html"
|
||||
strategy :page_match
|
||||
regex(%r{href=.*?/Leela_(\d+(?:\.\d+)*)\.dmg}i)
|
||||
end
|
||||
|
||||
depends_on macos: ">= :sierra"
|
||||
|
||||
app "Leela.app"
|
||||
|
|
Loading…
Reference in New Issue