2012-08-26 09:21:00 +08:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class BrewCask < Formula
|
2012-08-26 09:59:34 +08:00
|
|
|
homepage 'https://github.com/phinze/homebrew-cask/'
|
2013-07-07 22:23:10 +08:00
|
|
|
url 'https://github.com/phinze/homebrew-cask.git', :tag => 'v0.14.1'
|
|
|
|
version '0.14.1'
|
2012-10-16 08:17:00 +08:00
|
|
|
|
|
|
|
head 'https://github.com/phinze/homebrew-cask.git', :branch => 'master'
|
2012-08-26 09:21:00 +08:00
|
|
|
|
2012-09-22 12:37:16 +08:00
|
|
|
skip_clean 'bin'
|
2012-08-26 09:21:00 +08:00
|
|
|
|
|
|
|
def install
|
2013-07-07 22:21:15 +08:00
|
|
|
prefix.install 'lib' => 'rubylib'
|
2012-08-26 09:21:00 +08:00
|
|
|
inreplace 'bin/brew-cask.rb', '/lib', '/rubylib'
|
|
|
|
|
|
|
|
prefix.install 'Casks', 'bin'
|
|
|
|
(bin+'brew-cask.rb').chmod 0755
|
|
|
|
end
|
2012-08-26 09:59:34 +08:00
|
|
|
end
|