homebrew-cask/Casks/qqinput.rb

15 lines
569 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'qqinput' do
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
url "http://qqime.cdn.sogou.com/QQInput_Mac_Setup_#{version.gsub('.', '_')}.dmg"
2015-04-23 05:20:54 +08:00
name 'QQ输入法'
homepage 'http://qq.pinyin.cn/'
license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
pkg "安装QQ输入法#{version.sub(%r{^(\d+\.\d+).*}, '\1')}.pkg"
2014-11-22 22:12:44 +08:00
uninstall pkgutil: 'com.tencent.inputmethod.QQInput.*'
end