Browse Source

Migrate wine-staging from main repo (#3322)

master
Miccal Matthews 8 years ago
committed by GitHub
parent
commit
d3dfc12563
  1. 33
      Casks/wine-staging.rb

33
Casks/wine-staging.rb

@ -0,0 +1,33 @@
cask 'wine-staging' do
version '2.1'
sha256 '16581c8bb0a226dd1678e586426abe4075aa373eaed187560ee4bb0e926b4826'
url "https://repos.wine-staging.com/macosx/i686/winehq-staging-#{version}.pkg"
name 'WineHQ-staging'
homepage 'https://www.wine-staging.com/'
depends_on cask: 'xquartz'
pkg "winehq-staging-#{version}.pkg",
choices: [
{
'choiceIdentifier' => 'choice3',
'choiceAttribute' => 'selected',
'attributeSetting' => 1,
},
]
uninstall pkgutil: [
'org.winehq.wine-staging',
'org.winehq.wine-staging-deps',
'org.winehq.wine-staging-deps64',
'org.winehq.wine-staging32',
'org.winehq.wine-staging64',
],
delete: '/Applications/Wine Staging.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