homebrew-core/Formula/trang.rb

16 lines
360 B
Ruby
Raw Normal View History

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