homebrew-cask/Casks/calq.rb

22 lines
645 B
Ruby

cask 'calq' do
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
container nested: "Calq-#{version}.dmg"
app 'Calq.app'
# 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
zap delete: '~/Library/Preferences/com.katoemba.calq.plist'
end