homebrew-core/Formula/languagetool.rb
2012-09-03 11:36:42 -07:00

16 lines
385 B
Ruby

require 'formula'
class Languagetool < Formula
homepage 'http://www.languagetool.org/'
url 'http://www.languagetool.org/download/LanguageTool-1.3.1.oxt'
sha1 'eed879e201f13dd98d585e945b21cd7ba3eacd20'
def install
(bin+"languagetool").write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/LanguageTool.jar" "$@"
EOS
libexec.install Dir["*"]
end
end