Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / m / makehuman.rb
blob66e0bd19541f06ec24216a7da8d2db8415c76bfc
1 cask "makehuman" do
2   version "1.2.0"
3   sha256 "dbbaecc1286f20f65216f39dcb3021522ec89b6acd05c0ec769dfa22aa129c08"
5   url "https://download.tuxfamily.org/makehuman/releases/makehuman-community-#{version}-macos.zip",
6       verified: "tuxfamily.org/makehuman/"
7   name "MakeHuman"
8   desc "Open Source tool for making 3D characters"
9   homepage "http://www.makehumancommunity.org/"
11   livecheck do
12     url "https://download.tuxfamily.org/makehuman/releases/"
13     regex(/makehuman[._-]community[._-]v?(\d+(?:\.\d+)+)[._-]macos\.zip/i)
14   end
16   depends_on macos: ">= :sierra"
18   app "MakeHuman.app"
20   zap trash: [
21         "~/Documents/MakeHumanv#{version.major}py3",
22         "~/Library/Saved Application State/org.pythonmac.unspecified.MakeHuman.savedState",
23       ],
24       rmdir: "~/Documents/MakeHumanv#{version.major}py3"
26   caveats do
27     requires_rosetta
28   end
29 end