forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcytoscape.rb
24 lines (20 loc) · 900 Bytes
/
cytoscape.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cask 'cytoscape' do
version '3.7.2'
sha256 '8bb131921f7a030b4f06156d1d6e67d132a41e6febca6e48f2386df8ac028f4d'
# github.com/cytoscape/cytoscape was verified as official when first introduced to the cask
url "https://github.com/cytoscape/cytoscape/releases/download/#{version}/Cytoscape_#{version.dots_to_underscores}_macos.dmg"
appcast 'https://github.com/cytoscape/cytoscape/releases.atom'
name 'Cytoscape'
homepage 'https://cytoscape.org/'
installer script: {
executable: 'Cytoscape Installer.app/Contents/MacOS/JavaApplicationStub',
args: ['-q'],
}
uninstall script: {
executable: "#{appdir}/Cytoscape_v#{version}/Cytoscape Uninstaller.app/Contents/MacOS/JavaApplicationStub",
args: ['-q'],
}
caveats do
depends_on_java
end
end