Browse Source

wine-devel: migrate from caskroom/cask (#3568)

master
Yurii Kolesnykov 8 years ago
committed by Vítor Galvão
parent
commit
a3e8390aa4
  1. 33
      Casks/wine-devel.rb

33
Casks/wine-devel.rb

@ -0,0 +1,33 @@
cask 'wine-devel' do
version '2.5'
sha256 '64ca22345078d740092ef9e9f5cbf9fb094d50bed0cd551ec157ef8c631078a7'
url "https://dl.winehq.org/wine-builds/macosx/pool/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
Loading…
Cancel
Save