aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cssembed.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cssembed.rb')
-rw-r--r--Library/Formula/cssembed.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/cssembed.rb b/Library/Formula/cssembed.rb
index 8417f3392..a915fd529 100644
--- a/Library/Formula/cssembed.rb
+++ b/Library/Formula/cssembed.rb
@@ -1,15 +1,12 @@
require 'formula'
class Cssembed < Formula
- url 'https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar'
homepage 'http://www.nczonline.net/blog/2009/11/03/automatic-data-uri-embedding-in-css-files/'
+ url 'https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar'
sha1 'c170f4a6a19f2f86ebd04208cc71d017b3a6f907'
def install
libexec.install "cssembed-0.4.5.jar"
- (bin+'cssembed').write <<-EOS.undent
- #!/bin/sh
- java -jar "#{libexec}/cssembed-0.4.5.jar" "$@"
- EOS
+ bin.write_jar_script libexec/'cssembed-0.4.5', 'cssembed'
end
end