homebrew-cask/Casks/wine-devel.rb

34 lines
1.1 KiB
Ruby
Raw Normal View History

2017-02-15 08:00:11 +08:00
cask 'wine-devel' do
2017-03-26 02:41:28 +08:00
version '2.2'
sha256 'c79275bde71627fdeb8fb5ad612c1f78edd381003d64d94a50f87375bf4c33a6'
2017-02-15 08:00:11 +08:00
url "https://dl.winehq.org/wine-builds/macosx/i686/winehq-devel-#{version}.pkg"
name 'WineHQ-devel'
homepage 'https://wiki.winehq.org/MacOS'
depends_on cask: 'xquartz'
pkg "winehq-devel-#{version}.pkg",
choices: [
{
'choiceIdentifier' => 'choice3',
'choiceAttribute' => 'selected',
'attributeSetting' => 1,
},
]
uninstall pkgutil: [
'org.winehq.wine-devel',
'org.winehq.wine-devel-deps',
'org.winehq.wine-devel-deps64',
'org.winehq.wine-devel32',
'org.winehq.wine-devel64',
],
delete: '/Applications/Wine Devel.app'
caveats <<-EOS.undent
#{token} installs support for running 64 bit applications in Wine, which is considered experimental.
If you do not want 64 bit support, you should download and install the #{token} package manually.
EOS
end