task: install zsh completion where zsh will find it
This commit is contained in:
parent
e6d70baaf5
commit
5e7383cc6a
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'task'
|
# Template file for 'task'
|
||||||
pkgname=task
|
pkgname=task
|
||||||
version=2.4.4
|
version=2.4.4
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
makedepends="libuuid-devel"
|
makedepends="libuuid-devel"
|
||||||
build_style="cmake"
|
build_style="cmake"
|
||||||
|
@ -11,3 +11,12 @@ homepage="http://taskwarrior.org/projects/taskwarrior"
|
||||||
distfiles="http://www.taskwarrior.org/download/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.taskwarrior.org/download/${pkgname}-${version}.tar.gz"
|
||||||
checksum=7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b
|
checksum=7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b
|
||||||
short_desc="A command-line todo list manager"
|
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