aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndrew Bennett2012-06-21 10:39:02 -0600
committerAdam Vandenberg2012-06-21 19:46:25 -0700
commit9c7885b6cd03dd7b36aab329a27f0d2bc3accb7b (patch)
treea1c47f317102b8a2e2a00aba0e4a176c02d5d2f7 /Library/Formula
parentf0ff10803438a19e8955f941974cc23435d44603 (diff)
downloadhomebrew-9c7885b6cd03dd7b36aab329a27f0d2bc3accb7b.tar.bz2
phantomjs 1.6.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/phantomjs.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb
index 81512e782..5a8fb3bdb 100644
--- a/Library/Formula/phantomjs.rb
+++ b/Library/Formula/phantomjs.rb
@@ -12,21 +12,12 @@ end
class Phantomjs < Formula
homepage 'http://www.phantomjs.org/'
- url "http://phantomjs.googlecode.com/files/phantomjs-1.5.0-macosx-static.zip"
- sha1 'b87152ce691e7ed1937d30f86bc706a408d47f64'
+ url "http://phantomjs.googlecode.com/files/phantomjs-1.6.0-macosx-static.zip"
+ sha1 '7e4a4f069ffb32ab693d3234a9d67096a7ad23a3'
depends_on SnowLeopardOrNewer.new
- # phantomjs wrapper script to hide dock icon
- # See http://code.google.com/p/phantomjs/issues/detail?id=281
- def script; <<-EOS.undent
- #!/bin/sh
- exec "#{libexec}/phantomjs" "$@"
- EOS
- end
-
def install
- libexec.install 'bin/phantomjs', 'bin/Info.plist'
- (bin+'phantomjs').write script
+ bin.install 'bin/phantomjs'
end
end