From 5e7383cc6ab84ddc6e953eb2f1b393efc6034d68 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sun, 4 Oct 2015 13:49:38 +0200 Subject: [PATCH] task: install zsh completion where zsh will find it --- srcpkgs/task/template | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 +}