homebrew-core/Formula/languagetool.rb

17 lines
376 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Languagetool < Formula
homepage 'http://www.languagetool.org/'
2012-02-11 23:43:10 +00:00
url 'http://www.languagetool.org/download/LanguageTool-1.3.1.oxt'
md5 '9bf13c617eba946fd6b44562cbc90d42'
def install
2012-02-11 23:43:10 +00:00
(bin+"languagetool").write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/LanguageTool.jar" "$@"
EOS
libexec.install Dir["*"]
end
end