aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/task.rb
blob: 94c3a0cf71e741da1e2fc4ee1fcabf666f9b8669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Task <Formula
  url 'http://www.taskwarrior.org/download/task-1.9.3.tar.gz'
  homepage 'http://www.taskwarrior.org/'
  md5 '1eb9cf957a3abf60e148208e587909c2'

  skip_clean :all

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"

    # Install the bash completion file
    (etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
  end
end