homebrew-core/Formula/vimpager.rb
Alexander Kahn 000dc7cd96 Add vimpager formula
Remove unnecessary mv call.

Tricksy homebrews.

Add caveat for setting up vimpager

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-11 20:39:52 +00:00

18 lines
473 B
Ruby

require 'formula'
class Vimpager < Formula
url 'http://www.vim.org/scripts/download_script.php?src_id=13024'
version '1.3'
homepage 'http://www.vim.org/scripts/script.php?script_id=1723'
md5 '2ace56c96fb47cd6f34e47b2d6707729'
def install
bin.install 'download_script.php?src_id=13024' => 'vimpager'
end
def caveats; <<-EOS.undent
To use vimpager as your default pager, add `export PAGER=vimpager` to your
shell configuration.
EOS
end
end