From 5e5d93da324000cc1a407e16d2f98746c5a45285 Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Mon, 6 Oct 2014 04:44:37 +0900 Subject: [PATCH] Updated for new syntax https://github.com/caskroom/homebrew-cask/issues/4688 --- Casks/cathode.rb | 5 +++-- Casks/font-migu1m.rb | 1 + Casks/lightningkeyboard.rb | 5 +++-- Casks/notify.rb | 3 ++- Casks/voipconnect.rb | 10 ++++++---- Casks/windowflow.rb | 5 +++-- 6 files changed, 18 insertions(+), 11 deletions(-) diff --git a/Casks/cathode.rb b/Casks/cathode.rb index 4632233..298737b 100644 --- a/Casks/cathode.rb +++ b/Casks/cathode.rb @@ -1,9 +1,10 @@ class Cathode < Cask - version 'latest' + version :latest sha256 :no_check url 'http://store.secretgeometry.com/download.php?id=7' homepage 'http://www.secretgeometry.com/apps/cathode/' + license :unknown - link 'Cathode.app' + app 'Cathode.app' end diff --git a/Casks/font-migu1m.rb b/Casks/font-migu1m.rb index afe1197..348d71e 100644 --- a/Casks/font-migu1m.rb +++ b/Casks/font-migu1m.rb @@ -4,6 +4,7 @@ class FontMigu1m < Cask url "http://sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmix-mplus-ipa%2F59022%2Fmigu-1m-#{version}.zip" homepage 'http://mix-mplus-ipa.sourceforge.jp/migu/' + license :unknown font 'migu-1m-20130617/migu-1m-bold.ttf' font 'migu-1m-20130617/migu-1m-regular.ttf' diff --git a/Casks/lightningkeyboard.rb b/Casks/lightningkeyboard.rb index 5f75812..2d43056 100644 --- a/Casks/lightningkeyboard.rb +++ b/Casks/lightningkeyboard.rb @@ -1,9 +1,10 @@ class Lightningkeyboard < Cask - version 'latest' + version :latest sha256 :no_check url 'http://morishin.me/file/LightningKeyboard.zip' homepage 'http://morishin.hatenablog.com/entry/2014/07/05/213741' + license :unknown - link 'LightningKeyboard/LightningKeyboard.app' + app 'LightningKeyboard/LightningKeyboard.app' end diff --git a/Casks/notify.rb b/Casks/notify.rb index 7758bb1..44393bb 100644 --- a/Casks/notify.rb +++ b/Casks/notify.rb @@ -4,6 +4,7 @@ class Notify < Cask url 'http://www.macupdate.com/download/32217/notify-216.zip' homepage 'http://www.macupdate.com/app/mac/32217/notify-pro' + license :unknown - link 'Notify.app' + app 'Notify.app' end diff --git a/Casks/voipconnect.rb b/Casks/voipconnect.rb index 0fda42c..3ba9816 100644 --- a/Casks/voipconnect.rb +++ b/Casks/voipconnect.rb @@ -4,9 +4,11 @@ class Voipconnect < Cask url 'http://www.voipconnect.com/public/download/VoipConnect_1.00.pkg' homepage 'http://www.voipconnect.com/' + license :unknown - install 'VoipConnect_1.00.pkg' - uninstall :files => [ - '/Applications/VoipConnect.app' - ] + pkg 'VoipConnect_1.00.pkg' + uninstall :pkgutil => [ + 'com.tresmax.voipconnect.VoipConnect.pkg', + 'com.tresmax.voipconnect.postflight.pkg', + ] end diff --git a/Casks/windowflow.rb b/Casks/windowflow.rb index 46eecfe..5412bda 100644 --- a/Casks/windowflow.rb +++ b/Casks/windowflow.rb @@ -1,9 +1,10 @@ class Windowflow < Cask - version 'latest' + version :latest sha256 :no_check url 'http://files.windowflow.com/windowflow-standard.zip' homepage 'http://most-advantageous.com/windowflow/' + license :unknown - link 'WindowFlow.app' + app 'WindowFlow.app' end