2015-12-18 09:15:28 +08:00
|
|
|
cask 'calq' do
|
2015-12-07 20:53:15 +08:00
|
|
|
version '1.4.6'
|
|
|
|
sha256 '3e12d3fe2aea2df0483e91081ff24558b7382bf7390b07ab9bd0b5912627ef86'
|
|
|
|
|
|
|
|
url "http://www.katoemba.net/download/Calq-#{version}.dmg.gz"
|
|
|
|
name 'Calq'
|
|
|
|
homepage 'http://www.katoemba.net/makesnosenseatall/calq/'
|
|
|
|
license :gratis
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
container nested: "Calq-#{version}.dmg"
|
2016-01-04 03:17:56 +08:00
|
|
|
|
2015-12-07 20:53:15 +08:00
|
|
|
app 'Calq.app'
|
|
|
|
|
2016-01-04 17:06:21 +08:00
|
|
|
# This is a horrible hack to force the file extension. The
|
|
|
|
# backend code should be fixed so that this is not needed.
|
|
|
|
preflight do
|
|
|
|
system '/bin/mv', '--', staged_path.join("Calq-#{version}"), staged_path.join("Calq-#{version}.dmg")
|
|
|
|
end
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap delete: '~/Library/Preferences/com.katoemba.calq.plist'
|
2015-12-07 20:53:15 +08:00
|
|
|
end
|