2014-11-14 01:26:45 +08:00
|
|
|
cask :v1 => 'qqinput' do
|
2014-08-05 11:16:07 +08:00
|
|
|
version '2.8.86.400'
|
|
|
|
sha256 '5b90cf604230013d5afa974b5b4835c0d6faf55da932cebce4f72478b5665a4d'
|
|
|
|
|
2015-01-18 10:41:52 +08:00
|
|
|
# sogou.com is the official download host per the vendor homepage
|
2014-10-20 23:11:28 +08:00
|
|
|
url "http://qqime.cdn.sogou.com/QQInput_Mac_Setup_#{version.gsub('.','_')}.dmg"
|
2015-04-23 05:20:54 +08:00
|
|
|
name 'QQ输入法'
|
2014-08-05 11:16:07 +08:00
|
|
|
homepage 'http://qq.pinyin.cn/'
|
2014-12-20 21:47:02 +08:00
|
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2014-08-05 11:16:07 +08:00
|
|
|
|
2014-10-20 23:11:28 +08:00
|
|
|
pkg "安装QQ输入法#{version.sub(%r{^(\d+\.\d+).*},'\1')}.pkg"
|
2014-11-22 22:12:44 +08:00
|
|
|
|
2014-08-05 11:16:07 +08:00
|
|
|
uninstall :pkgutil => 'com.tencent.inputmethod.QQInput.*'
|
|
|
|
end
|