Merge pull request #2674 from okapia/task
task: install zsh completion where zsh will find it
This commit is contained in:
commit
42d0206a99
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue