File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11cask "krita" do
22 version "5.2.11"
3- sha256 "c38443656c017e299264473c9d11f4f92aca63b1475bda325a0a0f969973a147"
3+ sha256 arm : "c38443656c017e299264473c9d11f4f92aca63b1475bda325a0a0f969973a147" ,
4+ x86_64 : "c38443656c017e299264473c9d11f4f92aca63b1475bda325a0a0f969973a147" ,
5+ x86_64_linux : "09c0c325bdf9b1e8494ce9ae8322b6ca5fcb337a7d4b08c8f3b98b8ab95c5bfd"
6+ download_suffix = on_system_conditional linux : "-x86_64.AppImage" , macos : ".dmg"
47
5- url "https://download.kde.org/stable/krita/#{ version } /krita-#{ version } .dmg " ,
8+ url "https://download.kde.org/stable/krita/#{ version } /krita-#{ version } #{ download_suffix } " ,
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- depends_on macos : ">= :high_sierra"
19+ on_macos do
20+ depends_on macos : ">= :high_sierra"
1721
18- app "krita.app"
22+ app "krita.app"
23+ end
24+
25+ on_linux do
26+ depends_on arch : [ :x86_64 ]
27+ app_image "krita-#{ version } #{ download_suffix } "
28+ end
1929
2030 zap trash : [
2131 "~/Library/Application Support/krita" ,
You can’t perform that action at this time.
0 commit comments