27 lines
952 B
Ruby
27 lines
952 B
Ruby
cask 'displaycal' do
|
|
version '3.2.1.0'
|
|
sha256 '9dfeff888500c6f9bb275a6c6043c2e77726ca84a11b97449561636bd71efdcd'
|
|
|
|
# sourceforge.net/dispcalgui was verified as official when first introduced to the cask
|
|
url "https://downloads.sourceforge.net/dispcalgui/release/#{version}/DisplayCAL-#{version}.dmg"
|
|
appcast 'https://sourceforge.net/projects/dispcalgui/rss?path=/release',
|
|
checkpoint: '8885add15c7c3b94ccc98d0be5dea88c6f2c012e714e69cbb2b3fc63e00b6f45'
|
|
name 'DisplayCAL'
|
|
homepage 'https://displaycal.net/'
|
|
|
|
depends_on formula: 'argyll-cms'
|
|
|
|
suite 'DisplayCAL'
|
|
|
|
preflight do
|
|
# There is no sub-folder in the DMG; the root *is* the folder
|
|
FileUtils.mv(staged_path.children, staged_path.join('DisplayCAL').tap(&:mkpath))
|
|
end
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/dispcalGUI',
|
|
'~/Library/Logs/dispcalGUI',
|
|
'~/Library/Preferences/dispcalGUI',
|
|
]
|
|
end
|