homebrew-cask/Casks/qqinput.rb

14 lines
476 B
Ruby

cask 'qqinput' do
version '2.8.86.400'
sha256 '5b90cf604230013d5afa974b5b4835c0d6faf55da932cebce4f72478b5665a4d'
# qqime.cdn.sogou.com was verified as official when first introduced to the cask
url "http://qqime.cdn.sogou.com/QQInput_Mac_Setup_#{version.dots_to_underscores}.dmg"
name 'QQ输入法'
homepage 'http://qq.pinyin.cn/'
pkg "安装QQ输入法#{version.sub(%r{^(\d+\.\d+).*}, '\1')}.pkg"
uninstall pkgutil: 'com.tencent.inputmethod.QQInput.*'
end