From 328a2f5c6a49139f73e69535d03eec3f9f40385e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 4 Sep 2014 19:49:43 -0500 Subject: [PATCH] Use compact form of head where possible --- Formula/djvulibre.rb | 4 +--- Formula/mu.rb | 4 +--- Formula/phantomjs.rb | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Formula/djvulibre.rb b/Formula/djvulibre.rb index e6c1f9f7b2b..3792792cae9 100644 --- a/Formula/djvulibre.rb +++ b/Formula/djvulibre.rb @@ -18,9 +18,7 @@ class Djvulibre < Formula sha1 "96a3c4bd45ed2c2ca4a6efab0f1334326560b891" => :lion end - head do - url 'git://git.code.sf.net/p/djvu/djvulibre-git' - end + head 'git://git.code.sf.net/p/djvu/djvulibre-git' depends_on 'jpeg' depends_on 'libtiff' diff --git a/Formula/mu.rb b/Formula/mu.rb index b34c97d3ad8..9257aa82510 100644 --- a/Formula/mu.rb +++ b/Formula/mu.rb @@ -16,9 +16,7 @@ class Mu < Formula url 'https://github.com/djcb/mu/archive/v0.9.9.6.tar.gz' sha1 '45feb511fecf8b306c87a42f3a84858ac442642c' - head do - url 'https://github.com/djcb/mu.git' - end + head 'https://github.com/djcb/mu.git' option 'with-emacs', 'Build with emacs support' diff --git a/Formula/phantomjs.rb b/Formula/phantomjs.rb index d25ad74ccb0..c94c58a9e6a 100644 --- a/Formula/phantomjs.rb +++ b/Formula/phantomjs.rb @@ -21,9 +21,7 @@ class Phantomjs < Formula sha1 "273dbe33d1edbdd034c903d919278d33d7ebe5dd" => :lion end - head do - url "https://github.com/ariya/phantomjs.git" - end + head "https://github.com/ariya/phantomjs.git" def install if build.stable? && MacOS.prefer_64_bit?