20 lines
709 B
Ruby
20 lines
709 B
Ruby
cask 'meshlab' do
|
|
version '2020.07'
|
|
sha256 '96e249fc4e1b8d02495db468f4094c3669487c90f56104292e84a477960a89d9'
|
|
|
|
# github.com/cnr-isti-vclab/meshlab/ was verified as official when first introduced to the cask
|
|
url "https://github.com/cnr-isti-vclab/meshlab/releases/download/Meshlab-#{version}/MeshLab#{version}-macos.dmg"
|
|
appcast 'https://github.com/cnr-isti-vclab/meshlab/releases.atom'
|
|
name 'MeshLab'
|
|
homepage 'http://www.meshlab.net/'
|
|
|
|
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
|