homebrew-core/Formula/ranger.rb

19 lines
435 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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