homebrew-core/Formula/vimpager.rb
Julien Stechele 354fa8a9d1 vimpager 1.7.5
Closes Homebrew/homebrew#15744.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-30 06:35:14 -07:00

21 lines
531 B
Ruby

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