File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 11cask "krita" do
22 version "5.2.13"
3- sha256 "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8"
3+ download_suffix = on_system_conditional linux : "-x86_64.AppImage" , macos : "_signed.dmg"
4+ sha256 arm : "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8" ,
5+ x86_64 : "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8" ,
6+ x86_64_linux : "5fd9e52a25caa5cd7d3d3269898cceb1465b3ce497abd8eee0e84d7bd8668c91"
7+
8+ url "https://download.kde.org/stable/krita/#{ version } /krita-#{ version } #{ download_suffix } " ,
9+ verified : "download.kde.org/stable/krita/"
410
5- url "https://download.kde.org/stable/krita/#{ version } /krita-#{ version } _signed.dmg" ,
6- verified : "download.kde.org/stable/krita/"
711 name "Krita"
812 desc "Free and open-source painting and sketching program"
913 homepage "https://krita.org/"
1317 regex ( /href=.*?krita[._-]v?(\d +(?:\. \d +)+)(?:[._-]signed|[._-]release)?\. dmg/i )
1418 end
1519
16- app "krita.app"
20+ on_macos do
21+ app "krita.app"
22+ end
23+
24+ on_linux do
25+ depends_on arch : [ :x86_64 ]
26+ app_image "krita-#{ version } #{ download_suffix } "
27+ end
1728
1829 zap trash : [
1930 "~/Library/Application Support/krita" ,
You can’t perform that action at this time.
0 commit comments