void-packages/srcpkgs/task/template
2015-10-04 19:44:25 +02:00

22 lines
650 B
Bash

# Template file for 'task'
pkgname=task
version=2.4.4
revision=2
hostmakedepends="cmake"
makedepends="libuuid-devel"
build_style="cmake"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="MIT"
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
}