void-packages/srcpkgs/taskwarrior-tui/template

25 lines
747 B
Bash

# Template file for 'taskwarrior-tui'
pkgname=taskwarrior-tui
version=0.25.4
revision=1
build_style=cargo
depends="task"
checkdepends="git task"
short_desc="Terminal user interface for taskwarrior"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="MIT"
homepage="https://kdheepak.com/taskwarrior-tui/"
distfiles="https://github.com/kdheepak/taskwarrior-tui/archive/refs/tags/v${version}.tar.gz"
checksum=86a00c0c33f825824ac432c50e57a9bac150c3ba9e3d06e6d86f65790a99a458
post_install() {
vlicense LICENSE
}
do_check() {
git clone https://github.com/kdheepak/taskwarrior-testdata/
export TASKRC=$(pwd)/taskwarrior-testdata/.taskrc
export TASKDATA=$(pwd)/taskwarrior-testdata/.task
task import $(pwd)/taskwarrior-testdata/export.json
}