diff options
| author | Christian Moritz | 2013-09-17 17:47:24 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-18 08:01:16 -0700 |
| commit | ebb2220d61a4a2bd6fef7cf258fb6a2c55c318ce (patch) | |
| tree | 50d5ae13f1381908db5ecd5a43d503942c43893f /Library/Formula | |
| parent | 070a7fb0b99e10b7d6a2c94b860f012639eaefe3 (diff) | |
| download | homebrew-ebb2220d61a4a2bd6fef7cf258fb6a2c55c318ce.tar.bz2 | |
slimerjs 0.8.3 and HEAD
Closes #22619.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/slimerjs.rb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/slimerjs.rb b/Library/Formula/slimerjs.rb index 82da9d063..beaf33532 100644 --- a/Library/Formula/slimerjs.rb +++ b/Library/Formula/slimerjs.rb @@ -2,14 +2,18 @@ require 'formula' class Slimerjs < Formula homepage 'http://www.slimerjs.org' - url 'http://download.slimerjs.org/v0.8/slimerjs-0.8.2.zip' - sha1 '18066ada8e3735f1a2722b104f13201c57136375' + url 'http://download.slimerjs.org/v0.8/slimerjs-0.8.3.zip' + sha1 '8d2a6dc3b8200fa15cd9d65c84bc9358c11f03f8' + + head 'https://github.com/laurentj/slimerjs.git' def install - # fixed uname on os x as in upstream: https://github.com/laurentj/slimerjs/commit/05abb14 - inreplace 'slimerjs', 'uname -o', 'uname -o 2>&1' - rm_rf 'slimerjs.bat' - libexec.install Dir['*'] + if build.head? + cd 'src/' + # creating resource archive if build from head + system 'zip -r omni.ja chrome/ components/ modules/ defaults/ chrome.manifest -x@package_exclude.lst' + end + libexec.install %w[application.ini omni.ja slimerjs] bin.install_symlink libexec/'slimerjs' end |
