cask 'dotnet' do version '2.1.3' sha256 '5bb9909216cbc60878d9300a5edc39af51d9624b9330d93776a44bd89af8cd10' url "https://download.microsoft.com/download/6/E/B/6EBD972D-2E2F-41EB-9668-F73F5FDDC09C/dotnet-runtime-#{version}-osx-x64.pkg" appcast 'https://www.microsoft.com/net/download/macos' name '.Net Core Runtime' homepage 'https://www.microsoft.com/net/core#macos' depends_on macos: '>= :sierra' pkg "dotnet-runtime-#{version}-osx-x64.pkg" uninstall pkgutil: 'com.microsoft.dotnet.*', delete: '/etc/paths.d/dotnet' zap trash: '~/.nuget' end