homebrew-core/Formula/ranger.rb
Tim Gray 826f23c346 ranger 1.5.2.
Also added in the git repository for those who want to install from HEAD.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-04 09:27:14 -08:00

18 lines
435 B
Ruby

require 'formula'
class Ranger < Formula
url 'http://ranger.nongnu.org/ranger-1.5.2.tar.gz'
homepage 'http://ranger.nongnu.org/'
head 'git://git.savannah.nongnu.org/ranger.git', :using => :git
unless ARGV.build_head?
md5 '75b1e15b50ecced0a337ae30741daa3b'
end
def install
man1.install 'doc/ranger.1'
libexec.install ['ranger.py', 'ranger']
bin.mkpath
ln_s libexec+'ranger.py', bin+'ranger'
end
end