2014-11-14 01:27:02 +08:00
|
|
|
cask :v1 => 'squirrel' do
|
2015-02-07 20:15:28 +08:00
|
|
|
version '0.9.26.2'
|
|
|
|
sha256 '7ba8f934f8d4fe1d42c944ea0771f1a54ed558dd65ea558c4ba4d203505bc130'
|
2014-06-27 08:01:45 +08:00
|
|
|
|
2015-07-27 02:13:08 +08:00
|
|
|
# bintray.com is the official download host per the vendor homepage
|
2014-09-26 20:09:13 +08:00
|
|
|
url "https://dl.bintray.com/lotem/rime/Squirrel-#{version}.zip"
|
2015-05-02 04:17:17 +08:00
|
|
|
name 'Squirrel'
|
2015-07-27 02:13:08 +08:00
|
|
|
homepage 'http://rime.im/download/'
|
2015-02-01 02:25:12 +08:00
|
|
|
license :gpl
|
2014-06-27 08:01:45 +08:00
|
|
|
|
2015-07-10 06:45:07 +08:00
|
|
|
depends_on :macos => '>= :lion'
|
|
|
|
|
2014-09-10 23:37:07 +08:00
|
|
|
pkg 'Squirrel.pkg'
|
2014-11-22 22:12:46 +08:00
|
|
|
|
2014-09-28 14:53:04 +08:00
|
|
|
uninstall :pkgutil => 'com.googlecode.rimeime.Squirrel.pkg',
|
|
|
|
:delete => '/Library/Input Methods/Squirrel.app'
|
2013-10-18 18:50:36 +08:00
|
|
|
end
|