File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11cask "krita" do
22 version "5.2.13"
3- sha256 "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8"
3+ sha256 arm : "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8" ,
4+ x86_64 : "17ccfbf2b72fcca314ce59c6d6f0b62dda1dc230ece71aa42f56031ef75ea6e8" ,
5+ x86_64_linux : "09c0c325bdf9b1e8494ce9ae8322b6ca5fcb337a7d4b08c8f3b98b8ab95c5bfd"
46
57 url "https://download.kde.org/stable/krita/#{ version } /krita-#{ version } _signed.dmg" ,
8+ download_suffix = on_system_conditional linux : "-x86_64.AppImage" , macos : ".dmg"
69 verified : "download.kde.org/stable/krita/"
710 name "Krita"
811 desc "Free and open-source painting and sketching program"
1316 regex ( /href=.*?krita[._-]v?(\d +(?:\. \d +)+)(?:[._-]signed|[._-]release)?\. dmg/i )
1417 end
1518
16- app "krita.app"
19+ on_macos do
20+ app "krita.app"
21+ end
22+
23+ on_linux do
24+ depends_on arch : [ :x86_64 ]
25+ app_image "krita-#{ version } #{ download_suffix } "
26+ end
1727
1828 zap trash : [
1929 "~/Library/Application Support/krita" ,
You can’t perform that action at this time.
0 commit comments