homebrew-core/Formula/vimpager.rb
Brett Koonce f2d63663be vimpager 1.8.3
Closes Homebrew/homebrew#25911.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-15 09:09:10 +00: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.3.tar.gz'
sha1 '1ffdde40a9ecfc07207c76982f45fa38ba6a6caf'
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