aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-17 22:06:45 -0500
committerJack Nagel2013-09-17 22:06:45 -0500
commit63cbc516d4213a4481a528fe5d7ed18460f220df (patch)
tree203b994008a80f9c4226b00d6e63c965fa0a7402 /Library
parent3417ab8c4aa659570fe0af9e77bc66de218ba899 (diff)
downloadhomebrew-63cbc516d4213a4481a528fe5d7ed18460f220df.tar.bz2
mutt: use HEAD resource
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mutt.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
index 383fc7b8e..cf7332a24 100644
--- a/Library/Formula/mutt.rb
+++ b/Library/Formula/mutt.rb
@@ -5,7 +5,13 @@ class Mutt < Formula
url 'ftp://ftp.mutt.org/mutt/devel/mutt-1.5.21.tar.gz'
sha1 'a8475f2618ce5d5d33bff85c0affdf21ab1d76b9'
- head 'http://dev.mutt.org/hg/mutt#HEAD', :using => :hg
+ head do
+ url 'http://dev.mutt.org/hg/mutt#HEAD', :using => :hg
+
+ resource 'html' do
+ url 'http://dev.mutt.org/doc/manual.html', :using => :nounzip
+ end
+ end
option "with-debug", "Build with debug option enabled"
option "with-sidebar-patch", "Apply sidebar (folder list) patch" unless build.head?
@@ -23,10 +29,6 @@ class Mutt < Formula
depends_on 'tokyo-cabinet'
depends_on 's-lang' => :optional
- resource 'html' do
- head 'http://dev.mutt.org/doc/manual.html', :using => :nounzip
- end if build.head?
-
def patches
urls = [
['with-sidebar-patch', 'http://lunar-linux.org/~tchan/mutt/patch-1.5.21.sidebar.20130219.txt'],