2010-12-09 16:56:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Vimpager < Formula
|
2011-03-21 21:19:23 +00:00
|
|
|
homepage 'https://github.com/rkitover/vimpager'
|
2014-04-19 15:02:48 +00:00
|
|
|
url 'https://github.com/rkitover/vimpager/archive/1.8.8.tar.gz'
|
|
|
|
sha1 '69f32e77a64dcd8abea873a7eb05d80b9b6f76b2'
|
2011-10-10 20:17:11 +00:00
|
|
|
head 'https://github.com/rkitover/vimpager.git'
|
2010-12-09 16:56:40 +00:00
|
|
|
|
|
|
|
def install
|
2011-08-26 04:22:49 +00:00
|
|
|
inreplace 'vimpager.1', '~/bin/', ''
|
2011-07-01 19:59:21 +00:00
|
|
|
|
2012-11-26 21:10:16 +00:00
|
|
|
bin.install 'vimcat'
|
2011-03-21 21:19:23 +00:00
|
|
|
bin.install 'vimpager'
|
2011-08-26 04:22:49 +00:00
|
|
|
man1.install gzip('vimpager.1')
|
2010-12-09 16:56:40 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To use vimpager as your default pager, add `export PAGER=vimpager` to your
|
|
|
|
shell configuration.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|