homebrew-core/Formula/vimpager.rb
Brett Koonce 74a959dad6 vimpager 1.8.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-21 20:16:26 -07:00

22 lines
563 B
Ruby

require 'formula'
class Vimpager < Formula
homepage 'https://github.com/rkitover/vimpager'
url 'https://github.com/rkitover/vimpager/archive/1.8.2.tar.gz'
sha1 '7856566eb4f81429922fafccf4e7271c0117d476'
head 'https://github.com/rkitover/vimpager.git'
def install
inreplace 'vimpager.1', '~/bin/', ''
bin.install 'vimcat'
bin.install 'vimpager'
man1.install gzip('vimpager.1')
end
def caveats; <<-EOS.undent
To use vimpager as your default pager, add `export PAGER=vimpager` to your
shell configuration.
EOS
end
end