homebrew-core/Formula/vimpager.rb
Simon Olofsson 391ba9bf61 vimpager 1.7.7 and vimcat
Closes Homebrew/homebrew#16247.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-26 20:07:31 -08:00

22 lines
556 B
Ruby

require 'formula'
class Vimpager < Formula
homepage 'https://github.com/rkitover/vimpager'
url 'https://github.com/rkitover/vimpager/tarball/1.7.7'
sha1 '2ef558a56451afe6b347231d73a4681a7d90c113'
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