homebrew-cask-versions/brew-cask.rb
Paul Hinze f54eaf7082 update all references to new caskroom org home
global replace of:
  'phinze/homebrew-cask' -> 'caskroom/homebrew-cask'
  'phinze/cask' -> 'caskroom/cask'
  'phinze/homebrew-testcasks' -> 'caskroom/homebrew-testcasks'

and various other specific places that needed updates

<3 the homebrew-cask community!
2014-05-03 10:29:17 -05:00

22 lines
609 B
Ruby

require 'pathname'
require 'formula'
require Pathname(__FILE__).realpath.dirname.join('lib', 'cask', 'version')
class BrewCask < Formula
homepage 'https://github.com/caskroom/homebrew-cask/'
url 'https://github.com/caskroom/homebrew-cask.git', :tag => "v#{HOMEBREW_CASK_VERSION}"
head 'https://github.com/caskroom/homebrew-cask.git', :branch => 'master'
skip_clean 'bin'
def install
man1.install 'doc/man/brew-cask.1'
prefix.install 'lib' => 'rubylib'
inreplace 'bin/brew-cask.rb', '/lib', '/rubylib'
prefix.install 'Casks', 'bin'
(bin+'brew-cask.rb').chmod 0755
end
end