void-packages/srcpkgs/task/template

22 lines
677 B
Bash

# Template file for 'task'
pkgname=task
version=3.0.2
revision=1
build_style=cmake
build_helper="rust"
hostmakedepends="rust cargo"
makedepends="libuuid-devel gnutls-devel rust-std"
short_desc="Task Warrior command-line todo list manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://taskwarrior.org"
distfiles="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz"
checksum=633b76637b0c74e4845ffa28249f01a16ed2c84000ece58d4358e72bf88d5f10
post_install() {
vcompletion scripts/zsh/_task zsh
vcompletion scripts/bash/task.sh bash
vcompletion scripts/fish/task.fish fish
vlicense LICENSE
}