Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
wine-staging.rb: fix for new style
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao committed Jul 29, 2020
1 parent 80cfd7b commit 9bb6655
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions Casks/wine-staging.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
cask 'wine-staging' do
version '5.7'
sha256 '04a52f91ea515dfdcbead6fc3efefccf4e53377d17b9e818d14b44f29f184f28'
cask "wine-staging" do
version "5.7"
sha256 "04a52f91ea515dfdcbead6fc3efefccf4e53377d17b9e818d14b44f29f184f28"

# dl.winehq.org/wine-builds/macosx/ was verified as official when first introduced to the cask
url "https://dl.winehq.org/wine-builds/macosx/pool/winehq-staging-#{version}.pkg"
appcast 'https://dl.winehq.org/wine-builds/macosx/download.html'
name 'WineHQ-staging'
homepage 'https://www.wine-staging.com/'
appcast "https://dl.winehq.org/wine-builds/macosx/download.html"
name "WineHQ-staging"
homepage "https://www.wine-staging.com/"

conflicts_with formula: 'wine',
conflicts_with formula: "wine",
cask: [
'wine-stable',
'wine-devel',
]
"wine-stable",
"wine-devel",
]
depends_on x11: true

pkg "winehq-staging-#{version}.pkg",
choices: [
{
'choiceIdentifier' => 'choice3',
'choiceAttribute' => 'selected',
'attributeSetting' => 1,
},
]
{
"choiceIdentifier" => "choice3",
"choiceAttribute" => "selected",
"attributeSetting" => 1,
},
]
binary "#{appdir}/Wine Staging.app/Contents/Resources/start/bin/appdb"
binary "#{appdir}/Wine Staging.app/Contents/Resources/start/bin/winehelp"
binary "#{appdir}/Wine Staging.app/Contents/Resources/wine/bin/msiexec"
Expand All @@ -41,13 +41,13 @@
binary "#{appdir}/Wine Staging.app/Contents/Resources/wine/bin/wineserver"

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'
"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
#{token} installs support for running 64 bit applications in Wine, which is considered experimental.
Expand Down

0 comments on commit 9bb6655

Please sign in to comment.