4 require Pathname(__FILE__).realpath.dirname.join('lib', 'cask', 'version')
6 class BrewCask < Formula
7 homepage 'https://github.com/caskroom/homebrew-cask/'
8 url 'https://github.com/caskroom/homebrew-cask.git', :tag => "v#{HOMEBREW_CASK_VERSION}"
10 head 'https://github.com/caskroom/homebrew-cask.git', :branch => 'master'
15 man1.install 'doc/man/brew-cask.1'
16 prefix.install 'lib' => 'rubylib'
17 inreplace 'bin/brew-cask', '/lib', '/rubylib'
19 prefix.install 'Casks', 'bin'
20 (bin+'brew-cask').chmod 0755