Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #412 from rolandwalker/mass_change_dsl_pkg
Browse files Browse the repository at this point in the history
Mass change Casks to use new DSL stanza `pkg`
  • Loading branch information
rolandwalker committed Sep 11, 2014
2 parents ebef3ea + 365ad20 commit 51404c1
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Casks/adobe-reader-fr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class AdobeReaderFr < Cask
url 'http://ardownload.adobe.com/pub/adobe/reader/mac/11.x/11.0.00/fr_FR/AdbeRdr11000_fr_FR.dmg'
homepage 'http://get.adobe.com/fr/reader/'

install 'Adobe Reader XI Installer.pkg'
pkg 'Adobe Reader XI Installer.pkg'
uninstall :pkgutil => 'com.adobe.acrobat.reader.11000.*'
end
2 changes: 1 addition & 1 deletion Casks/gcc481-linux64.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Gcc481Linux64 < Cask
url 'http://crossgcc.rts-software.org/download/gcc-4.8.1-for-linux32-linux64/gcc-4.8.1-for-linux64.dmg'
homepage 'http://crossgcc.rts-software.org/doku.php?id=start'

install 'gcc-4.8.1-for-linux64.pkg'
pkg 'gcc-4.8.1-for-linux64.pkg'
end
2 changes: 1 addition & 1 deletion Casks/google-japanese-ime-dev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class GoogleJapaneseImeDev < Cask
url 'https://dl.google.com/japanese-ime/dev/GoogleJapaneseInput.dmg'
homepage 'https://www.google.co.jp/ime/'

install 'GoogleJapaneseInput.pkg'
pkg 'GoogleJapaneseInput.pkg'
uninstall :pkgutil => 'com.google.pkg.GoogleJapaneseInput',
:launchctl => [
'com.google.inputmethod.Japanese.Converter',
Expand Down
2 changes: 1 addition & 1 deletion Casks/java6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Java6 < Cask
url 'http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg'
homepage 'http://support.apple.com/kb/DL1572'

install 'JavaForOSX.pkg'
pkg 'JavaForOSX.pkg'
uninstall :pkgutil => 'com.apple.pkg.JavaForMacOSX107'
end
2 changes: 1 addition & 1 deletion Casks/java7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Java7 < Cask
}
homepage 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'

install 'JDK 7 Update 67.pkg'
pkg 'JDK 7 Update 67.pkg'
postflight do
system '/usr/bin/sudo', '-E', '--',
'/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string BundledApp', "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist"
Expand Down
2 changes: 1 addition & 1 deletion Casks/keyremap4macbook-mountainlion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Keyremap4macbookMountainlion < Cask
url 'https://pqrs.org/macosx/keyremap4macbook/files/KeyRemap4MacBook-8.4.0.dmg'
homepage 'https://pqrs.org/macosx/keyremap4macbook/'

install 'KeyRemap4MacBook.pkg'
pkg 'KeyRemap4MacBook.pkg'
end
2 changes: 1 addition & 1 deletion Casks/lightroom3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Lightroom3 < Cask
url 'http://download.adobe.com/pub/adobe/lightroom/mac/3.x/Lightroom_3_LS11_mac_3_3.dmg'
homepage 'http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4927&fileID=4588'

install 'Adobe Lightroom 3.pkg'
pkg 'Adobe Lightroom 3.pkg'
end
2 changes: 1 addition & 1 deletion Casks/mono-mdk327.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class MonoMdk327 < Cask
url 'http://download.mono-project.com/archive/3.2.7/macos-10-x86/MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg'
homepage 'http://mono-project.com/'

install 'MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg'
pkg 'MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg'
uninstall :pkgutil => 'com.xamarin.mono-MDK.pkg'
end
2 changes: 1 addition & 1 deletion Casks/netbeans-php-nightly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class NetbeansPhpNightly < Cask
sha256 '310e50c21614ec748ddbc3657b3dc51634ec5831ae28a18d76cff1c2c29d0088'

url "http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-#{version}-php-macosx.dmg"
install "NetBeans Dev #{version}.mpkg"
pkg "NetBeans Dev #{version}.mpkg"

uninstall :files => [
'/Applications/NetBeans'
Expand Down
2 changes: 1 addition & 1 deletion Casks/parallels8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Parallels8 < Cask
url 'http://www.parallels.com/directdownload/pd8'
homepage 'http://www.parallels.com/products/desktop/'

install 'Install.mpkg'
pkg 'Install.mpkg'
end
2 changes: 1 addition & 1 deletion Casks/paraview-nightly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ParaviewNightly < Cask
This version of Paraview should be installed if your system Python
version is 2.7. If you are running OS X Lion (10.7) or Mountain
Lion (10.8) and your system Python version is 2.6, please instead
install paraview-nightly-lion-python27.
pkg paraview-nightly-lion-python27.
EOS
end
2 changes: 1 addition & 1 deletion Casks/quicktime-player7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class QuicktimePlayer7 < Cask
url 'http://support.apple.com/downloads/DL923/en_US/QuickTimePlayer7.6.6_SnowLeopard.dmg'
homepage 'http://support.apple.com/kb/dl923'

install 'QuickTimePlayer7.6.6_SnowLeopard.pkg'
pkg 'QuickTimePlayer7.6.6_SnowLeopard.pkg'
uninstall :pkgutil => 'com.apple.pkg.QuickTimePlayer7.6.6_SnowLeopard',
:files => '/Applications/Utilities/QuickTime Player 7.app'
end
2 changes: 1 addition & 1 deletion Casks/soundflower-ultraschall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class SoundflowerUltraschall < Cask
url "https://github.com/MariusE/Soundflower-Ultraschall-Edition/releases/download/#{version}/Soundflower-#{version}.dmg"
homepage 'https://github.com/MariusE/Soundflower-Ultraschall-Edition'

install 'Soundflower.pkg', :allow_untrusted => true
pkg 'Soundflower.pkg', :allow_untrusted => true
uninstall :pkgutil => 'com.cycling74.soundflower*',
:files => '/Applications/Soundflower'
end
2 changes: 1 addition & 1 deletion Casks/truecrypt71a.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Truecrypt71a < Cask
url 'https://github.com/DrWhax/truecrypt-archive/raw/231bb2f64564a087de338a68fb9498320eecfe2a/TrueCrypt%207.1a%20Mac%20OS%20X.dmg'
homepage 'http://truecrypt.sourceforge.net/'

install 'TrueCrypt 7.1a.mpkg'
pkg 'TrueCrypt 7.1a.mpkg'
caveats do
files_in_usr_local
<<-EOS.undent
Expand Down
2 changes: 1 addition & 1 deletion Casks/vagrant127.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Vagrant127 < Cask
url 'http://files.vagrantup.com/packages/7ec0ee1d00a916f80b109a298bab08e391945243/Vagrant-1.2.7.dmg'
homepage 'http://www.vagrantup.com'

install 'Vagrant.pkg'
pkg 'Vagrant.pkg'
uninstall :script => { :executable => 'uninstall.tool', :input => %w[Yes] }
end
2 changes: 1 addition & 1 deletion Casks/vagrant143.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Vagrant143 < Cask
url 'https://dl.bintray.com/mitchellh/vagrant/Vagrant-1.4.3.dmg'
homepage 'http://www.vagrantup.com'

install 'Vagrant.pkg'
pkg 'Vagrant.pkg'
uninstall :script => 'uninstall.tool', :input => %w[Yes]
end
2 changes: 1 addition & 1 deletion Casks/vagrant163.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Vagrant163 < Cask
url 'https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3.dmg'
homepage 'http://www.vagrantup.com'

install 'Vagrant.pkg'
pkg 'Vagrant.pkg'
uninstall :script => { :executable => 'uninstall.tool', :input => %w[Yes] }
end
2 changes: 1 addition & 1 deletion Casks/virtualbox422492790.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Virtualbox422492790 < Cask
url 'http://download.virtualbox.org/virtualbox/4.2.24/VirtualBox-4.2.24-92790-OSX.dmg'
homepage 'http://www.virtualbox.org'

install 'VirtualBox.pkg'
pkg 'VirtualBox.pkg'
uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] }
end
2 changes: 1 addition & 1 deletion Casks/virtualbox431293733.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Virtualbox431293733 < Cask
url 'http://download.virtualbox.org/virtualbox/4.3.12/VirtualBox-4.3.12-93733-OSX.dmg'
homepage 'http://www.virtualbox.org'

install 'VirtualBox.pkg'
pkg 'VirtualBox.pkg'
uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] }
end
2 changes: 1 addition & 1 deletion Casks/virtualbox43691406.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Virtualbox43691406 < Cask
url 'http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-4.3.6-91406-OSX.dmg'
homepage 'http://www.virtualbox.org'

install 'VirtualBox.pkg'
pkg 'VirtualBox.pkg'
uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] }
end
2 changes: 1 addition & 1 deletion Casks/wireshark-dev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class WiresharkDev < Cask
url 'http://www.wireshark.org/download/osx/Wireshark%201.11.3%20Intel%2064.dmg'
homepage 'http://www.wireshark.org'

install 'Wireshark 1.11.3 Intel 64.pkg'
pkg 'Wireshark 1.11.3 Intel 64.pkg'
uninstall :pkgutil => 'org.wireshark.*'
end

0 comments on commit 51404c1

Please sign in to comment.