homebrew-cask/Casks/geotag.rb

26 lines
799 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'geotag' do
2016-08-08 03:12:48 +08:00
if MacOS.version <= :mountain_lion
2015-08-10 20:55:47 +08:00
version '2.2'
sha256 'c5553af3b37903b7e4f402d8c9fbeced63492295c6bdd25987dd70ab367c32e9'
else
2016-01-15 12:00:03 +08:00
version '3.5.8'
sha256 '02dcf8c87b69ab517f0c7919104da97ca09028c41f1b8c408026331b29a36685'
2015-08-10 20:55:47 +08:00
end
url "https://www.snafu.org/GeoTag/GeoTag-#{version}.dmg"
appcast 'https://www.snafu.org/GeoTag/',
checkpoint: '30f80a387e9aad3cf530878242d2d8bc4489ddb1cdbd1b0b3f2127cc4058d837'
2015-08-10 20:55:47 +08:00
name 'GeoTag'
2016-11-15 07:18:52 +08:00
homepage 'https://www.snafu.org/GeoTag/'
2015-08-10 20:55:47 +08:00
depends_on formula: 'exiftool'
2016-01-15 12:00:03 +08:00
2015-08-10 20:55:47 +08:00
app 'GeoTag.app'
2016-01-15 12:00:03 +08:00
zap delete: [
'~/Library/Caches/org.snafu.GeoTag',
'~/Library/Saved Application State/org.snafu.GeoTag.savedState',
],
trash: '~/Library/Preferences/org.snafu.GeoTag.plist'
2015-08-10 20:55:47 +08:00
end