paintbrush: add livecheck (#96505)

This commit is contained in:
Markus Reiter 2020-12-22 05:05:23 +01:00 committed by GitHub
parent 16a5376bde
commit e7316334b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -1,14 +1,20 @@
cask "paintbrush" do
version "2.5.0"
version "2.5.0,20190914"
sha256 "fca1d23f6da1ff1fe6768ba67cd692362cbf86ad9adf72431514740a37c513b6"
url "https://downloads.sourceforge.net/paintbrush/Paintbrush%202.x/Paintbrush%20#{version}/Paintbrush-#{version}.zip",
url "https://downloads.sourceforge.net/paintbrush/Paintbrush%202.x/Paintbrush%20#{version.before_comma}/Paintbrush-#{version.before_comma}.zip",
verified: "downloads.sourceforge.net/paintbrush/"
appcast "https://paintbrush.sourceforge.io/updates#{version.major}x.xml"
name "Paintbrush"
desc "Image editor"
homepage "https://paintbrush.sourceforge.io/"
livecheck do
url "https://paintbrush.sourceforge.io/updates#{version.major}x.xml"
strategy :sparkle do |item|
"#{item.short_version}.0,#{item.version}"
end
end
app "Paintbrush.app"
zap trash: [