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

class Task < Formula
  homepage 'http://www.taskwarrior.org/'
  url 'http://www.taskwarrior.org/download/task-2.0.0.tar.gz'
  sha1 'dc587363fbdc1dcac7f7e07b1bccfd1fb56b2435'

  depends_on "cmake" => :build

  skip_clean :all

  def install
    system "cmake #{std_cmake_parameters}"
    system "make install"
    (etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
    (share+'zsh/functions').install   'scripts/zsh/_task'
  end
end