blob: d16a9c9e7cd260e3d844b060fadf7386d5e921d9 (
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.1.1.tar.gz'
sha1 'c23cb320f3478e37527c5c3cc547286f97bacc7c'
depends_on "cmake" => :build
skip_clean :all
def install
system "cmake", ".", *std_cmake_args
system "make install"
(etc+'bash_completion.d').install 'scripts/bash/task.sh'
(share+'zsh/site-functions').install 'scripts/zsh/_task'
end
end
|