44a897d00d
After The Deadline Webservice integration for the shell so it can be used with vim, emacs and alike for spell and gramar checking. Closes Homebrew/homebrew#25596. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
22 lines
622 B
Ruby
22 lines
622 B
Ruby
require 'formula'
|
|
|
|
class Atdtool < Formula
|
|
homepage 'https://github.com/lpenz/atdtool'
|
|
url 'https://github.com/lpenz/atdtool/archive/upstream/1.3.zip'
|
|
sha1 '753abbfccd29d88abe774c032e58ea9428d8f6db'
|
|
|
|
depends_on :python
|
|
depends_on 'txt2tags' => :build
|
|
|
|
def install
|
|
# Change the PREFIX to match the homebrew one, since there is no way to
|
|
# pass it as an option for now edit the Makefile
|
|
# https://github.com/lpenz/atdtool/pull/8
|
|
inreplace 'Makefile', "PREFIX=/usr/local", "PREFIX=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/atdtool", "#{prefix}/AUTHORS"
|
|
end
|
|
end
|