homebrew-core/Formula/jing.rb

16 lines
360 B
Ruby
Raw Normal View History

require 'formula'
class Jing < Formula
homepage 'http://code.google.com/p/jing-trang/'
url 'http://jing-trang.googlecode.com/files/jing-20091111.zip'
md5 '13eef193921409a1636377d1efbf9843'
def install
libexec.install Dir["*"]
2012-03-17 04:59:28 +00:00
(bin+'jing').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/bin/jing.jar" "$@"
EOS
end
end