2016-03-13 03:55:29 +08:00
|
|
|
cask 'displaycal' do
|
2018-04-28 08:46:18 +08:00
|
|
|
version '3.5.3.0'
|
|
|
|
sha256 '1828b5dea240570bd759484917c2c52e5b96ca87c841669859b18a4cb7caa7db'
|
2016-03-13 03:55:29 +08:00
|
|
|
|
2016-07-05 06:33:33 +08:00
|
|
|
# sourceforge.net/dispcalgui was verified as official when first introduced to the cask
|
2016-03-13 03:55:29 +08:00
|
|
|
url "https://downloads.sourceforge.net/dispcalgui/release/#{version}/DisplayCAL-#{version}.dmg"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://sourceforge.net/projects/dispcalgui/rss?path=/release'
|
2016-03-13 03:55:29 +08:00
|
|
|
name 'DisplayCAL'
|
2016-11-27 18:49:48 +08:00
|
|
|
homepage 'https://displaycal.net/'
|
2016-03-13 03:55:29 +08:00
|
|
|
|
|
|
|
depends_on formula: 'argyll-cms'
|
|
|
|
|
2016-08-16 00:29:41 +08:00
|
|
|
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
|
2016-03-13 03:55:29 +08:00
|
|
|
|
2017-11-18 17:50:50 +08:00
|
|
|
zap trash: [
|
|
|
|
'~/Library/Application Support/dispcalGUI',
|
|
|
|
'~/Library/Logs/dispcalGUI',
|
|
|
|
'~/Library/Preferences/dispcalGUI',
|
|
|
|
]
|
2016-03-13 03:55:29 +08:00
|
|
|
end
|