aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/vf.rb
blob: 0158fa440ddf92335985e02a900f84c85007886b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Vf < Formula
  url 'https://github.com/glejeune/vf/tarball/0.0.1'
  homepage 'https://github.com/glejeune/vf'
  md5 'c1d1c7dd52a960b01c5870165593dc35'

  head 'https://github.com/glejeune/vf.git'

  def install
    # Since the shell file is sourced instead of run
    # install to prefix instead of bin
    prefix.install Dir['*']
  end

  def caveats; <<-EOS.undent
    To complete installation, add the following line to your shell's rc file:
      source #{prefix}/vf.sh
    EOS
  end
end