homebrew-core/Formula/hub.rb
Mislav Marohnić d7260abac6 hub: Update to 1.9.0
The glorious GitHub API v3 Edition

Closes Homebrew/homebrew#12070.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-05-04 11:47:37 -07:00

23 lines
649 B
Ruby

require 'formula'
class Hub < Formula
url 'https://github.com/defunkt/hub/tarball/v1.9.0'
homepage 'http://defunkt.io/hub/'
head 'https://github.com/defunkt/hub.git'
md5 '0f3b500947d0e9793d65f6b1b529b1c7'
def install
system "rake", "install", "prefix=#{prefix}"
(prefix+'etc/bash_completion.d').install 'etc/hub.bash_completion.sh'
(share+'zsh/site-functions').install 'etc/hub.zsh_completion' => '_hub'
end
def caveats; <<-EOS.undent
Bash completion has been installed to:
#{etc}/bash_completion.d
zsh completion has been installed to:
#{HOMEBREW_PREFIX}/share/zsh/site-functions
EOS
end
end