29 lines
924 B
Bash
29 lines
924 B
Bash
# Template file for 'taskwarrior-tui'
|
|
pkgname=taskwarrior-tui
|
|
version=0.25.4
|
|
revision=2
|
|
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
|
|
vman docs/taskwarrior-tui.1
|
|
vcompletion completions/_taskwarrior-tui zsh
|
|
vcompletion completions/taskwarrior-tui.bash bash
|
|
vcompletion completions/taskwarrior-tui.fish fish
|
|
}
|
|
|
|
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
|
|
}
|