diff --git a/srcpkgs/task/template b/srcpkgs/task/template index c4eb2e1076b..7c07cf11790 100644 --- a/srcpkgs/task/template +++ b/srcpkgs/task/template @@ -1,7 +1,7 @@ # Template file for 'task' pkgname=task version=2.4.4 -revision=1 +revision=2 hostmakedepends="cmake" makedepends="libuuid-devel" build_style="cmake" @@ -11,3 +11,12 @@ homepage="http://taskwarrior.org/projects/taskwarrior" distfiles="http://www.taskwarrior.org/download/${pkgname}-${version}.tar.gz" checksum=7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b short_desc="A command-line todo list manager" + +post_extract() { + sed -i 's, zsh,,' scripts/CMakeLists.txt + echo 'install (FILES zsh/_task DESTINATION share/zsh/site-functions)' >> scripts/CMakeLists.txt +} + +post_install() { + vlicense LICENSE +}