24 lines
771 B
Ruby
24 lines
771 B
Ruby
cask 'displaycal' do
|
|
version '3.8.3.0'
|
|
sha256 '3815e8678fb7d7760d6af1928cb378738656c61260ab32a37f96e2bd44151ddc'
|
|
|
|
# sourceforge.net/dispcalgui was verified as official when first introduced to the cask
|
|
url "https://downloads.sourceforge.net/dispcalgui/release/#{version}/DisplayCAL-#{version}.pkg"
|
|
appcast 'https://sourceforge.net/projects/dispcalgui/rss?path=/release'
|
|
name 'DisplayCAL'
|
|
homepage 'https://displaycal.net/'
|
|
|
|
auto_updates true
|
|
depends_on formula: 'argyll-cms'
|
|
|
|
pkg "DisplayCAL-#{version}.pkg"
|
|
|
|
uninstall pkgutil: 'net.displaycal.*.DisplayCAL.*'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/dispcalGUI',
|
|
'~/Library/Logs/dispcalGUI',
|
|
'~/Library/Preferences/dispcalGUI',
|
|
]
|
|
end
|