homebrew-core/Formula/rename.rb
xiongchiamiov 626d87df01 rename: Use stable Github download link
Previously, we've been downloading the script from a link on the author's
website; as he updates the script, this file changes.  This causes SHA1
mismatches and generally makes life annoying.

Thankfully, he's also got it on Github and has tagged exactly one version.  So,
use that version until he releases a new one.

See also:

* https://github.com/mxcl/homebrew/issues/15215
* https://github.com/mxcl/homebrew/issues/15027
* https://github.com/mxcl/homebrew/issues/15221

Closes Homebrew/homebrew#15497.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-16 20:27:05 -07:00

14 lines
331 B
Ruby

require 'formula'
class Rename < Formula
homepage 'http://plasmasturm.org/code/rename'
url 'https://github.com/ap/rename/zipball/v1.100'
version '1.100'
sha1 'fad32374f16802fa6bb94c41cdb9f50d63bfafcb'
def install
system 'pod2man', 'rename', 'rename.1'
bin.install 'rename'
man1.install 'rename.1'
end
end