20 lines
708 B
Ruby
20 lines
708 B
Ruby
cask 'meshlab' do
|
|
version '2020.04'
|
|
sha256 '875651a5f5614084ffee654c1b47ef1cb74d760910215946f33d13b8b9b6d503'
|
|
|
|
# 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
|