parent
0e96e485d6
commit
cd81fc29fe
|
@ -2,17 +2,15 @@ require 'formula'
|
|||
|
||||
class Task < Formula
|
||||
homepage 'http://www.taskwarrior.org/'
|
||||
url 'http://www.taskwarrior.org/download/task-2.1.1.tar.gz'
|
||||
sha1 'c23cb320f3478e37527c5c3cc547286f97bacc7c'
|
||||
url 'http://www.taskwarrior.org/download/task-2.1.2.tar.gz'
|
||||
sha1 '4cd5a5cb562fa407f097e2cd7e7293183773cf5b'
|
||||
|
||||
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'
|
||||
(prefix/'etc/bash_completion.d').install 'scripts/bash/task.sh'
|
||||
(share/'zsh/site-functions').install 'scripts/zsh/_task'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue