homebrew-cask/Casks/meshlab.rb

21 lines
783 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'meshlab' do
2017-03-10 12:17:48 +08:00
version '2016.12'
sha256 '1a9d81f7bb7fb3da223e83768d13601b4728abde9276a415049bbb33b74baecf'
2017-03-10 12:17:48 +08:00
# github.com/cnr-isti-vclab/meshlab was verified as official when first introduced to the cask
url "http://github.com/cnr-isti-vclab/meshlab/releases/download/v#{version}/MeshLab#{version}.dmg"
appcast 'http://github.com/cnr-isti-vclab/meshlab/releases.atom',
checkpoint: '77a82ca5a2c0050b6d3790364e35d0330423e6df854021bf9691a14e018029f2'
2015-04-13 01:16:21 +08:00
name 'MeshLab'
2017-03-10 12:17:48 +08:00
homepage 'http://www.meshlab.net/'
2014-09-16 00:05:56 +08:00
app 'meshlab.app'
postflight do
# workaround for bug which breaks the app on case-sensitive filesystems
Dir.chdir("#{appdir}/meshlab.app/Contents/MacOS") do
File.symlink('meshlab', 'MeshLab') unless File.exist? 'MeshLab'
end
end
end