1b9e8ce674
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
522 B
Ruby
21 lines
522 B
Ruby
require 'formula'
|
|
|
|
class Vimpager < Formula
|
|
homepage 'https://github.com/rkitover/vimpager'
|
|
url 'https://github.com/rkitover/vimpager/tarball/1.6.7'
|
|
md5 '6f904ad6f00cdea9cbfff7c7fcfca3a8'
|
|
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
|