homebrew-core/Formula/autoenv.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

22 lines
556 B
Ruby

require 'formula'
class Autoenv < Formula
homepage 'https://github.com/kennethreitz/autoenv'
url 'https://github.com/kennethreitz/autoenv/archive/v0.1.0.tar.gz'
sha1 '4d773ba8162b8f49abdfc07d0f8c956aa3353e0c'
head 'https://github.com/kennethreitz/autoenv.git', :branch => 'master'
def install
prefix.install "activate.sh"
end
def caveats; <<-EOS.undent
Autoenv was installed to:
#{opt_prefix}
To finish the installation, source activate.sh in your shell:
source #{opt_prefix}/activate.sh
EOS
end
end