homebrew-core/Formula/vimpager.rb
Trevor Wennblom e9db998ecc vimpager 1.5.7
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-26 09:56:41 -05:00

21 lines
520 B
Ruby

require 'formula'
class Vimpager < Formula
homepage 'https://github.com/rkitover/vimpager'
url 'https://github.com/rkitover/vimpager/tarball/1.5.7'
md5 'c266ec2fe974c5431de8ce16c4ab97f6'
head 'git://github.com/rkitover/vimpager.git'
def install
inreplace 'vimpager.1', '~/bin/', ''
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