summaryrefslogtreecommitdiff
path: root/community/task
diff options
context:
space:
mode:
Diffstat (limited to 'community/task')
-rw-r--r--community/task/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/task/PKGBUILD b/community/task/PKGBUILD
index 51fe81b56..27e46c747 100644
--- a/community/task/PKGBUILD
+++ b/community/task/PKGBUILD
@@ -5,17 +5,17 @@
# Contributor: coolkehon <coolkehon@gmail.com>
pkgname=task
-pkgver=1.9.4
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
pkgdesc="A command-line todo list manager"
arch=('i686' 'x86_64')
url="http://taskwarrior.org/projects/show/taskwarrior/"
-license=('GPL')
+license=('MIT')
depends=()
makedepends=('cmake')
-optdepends=('bash-completion: for bash completion', 'python: for python export addon', 'ruby: for ruby export addon', 'perl: for perl export addon')
+optdepends=('bash-completion: for bash completion', 'python: for python export addon', 'ruby: for ruby export addon', 'perl: for perl export addon', 'lua: for luaexport addon')
source=(http://www.taskwarrior.org/download/$pkgname-$pkgver.tar.gz)
-sha1sums=('b9bae255f4fa03970eced3ac0876935271d1d7a1')
+sha256sums=('78971e366c2395de1cc4b0c4fc41dd950c309d3bc2f6e9594b4c5821ad6775bd')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,7 +28,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm644 "$pkgdir/usr/share/doc/task/scripts/bash/task_completion.sh" "$pkgdir/etc/bash_completion.d/task_completion.sh"
+ install -Dm644 "$pkgdir/usr/share/doc/task/scripts/bash/task_completion.sh" "$pkgdir/usr/share/bash_completion/completions/task_completion.sh"
install -Dm644 "$pkgdir/usr/share/doc/task/scripts/fish/task.fish" "$pkgdir/usr/share/fish/completions/task.fish"
install -Dm644 "$pkgdir/usr/share/doc/task/scripts/zsh/_task" "$pkgdir/usr/share/zsh/site-functions/_task"
@@ -36,4 +36,6 @@ package() {
install -Dm644 "$pkgdir/usr/share/doc/task/scripts/vim/syntax/taskdata.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/taskdata.vim"
install -Dm644 "$pkgdir/usr/share/doc/task/scripts/vim/syntax/taskedit.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/taskedit.vim"
install -Dm644 "$pkgdir/usr/share/doc/task/scripts/vim/syntax/taskrc.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/taskrc.vim"
+
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/task/LICENSE"
}