task: update to 2.5.3.

Use GitHub distfile location and vcompletion helper.

Closes: #27809 [via git-merge-pr]
This commit is contained in:
Pulux 2021-01-10 16:49:08 +01:00 committed by Érico Rolim
parent 6799eaca54
commit f870ab17d2

View file

@ -1,19 +1,19 @@
# Template file for 'task'
pkgname=task
version=2.5.1
revision=6
version=2.5.3
revision=1
build_style=cmake
makedepends="libuuid-devel gnutls-devel"
short_desc="Task Warrior command-line todo list manager"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="MIT"
homepage="https://taskwarrior.org"
distfiles="https://taskwarrior.org/download/${pkgname}-${version}.tar.gz"
checksum=d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15
distfiles="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz"
checksum=7243d75e0911d9e2c9119ad94a61a87f041e4053e197f7280c42410aa1ee963b
post_install() {
vinstall scripts/zsh/_task 644 usr/share/zsh/site-functions
vinstall scripts/bash/task.sh 644 usr/share/bash-completion/completions ${pkgname}
vinstall scripts/fish/task.fish 644 usr/share/fish/vendor_completions.d
vcompletion scripts/zsh/_task zsh
vcompletion scripts/bash/task.sh bash
vcompletion scripts/fish/task.fish fish
vlicense LICENSE
}