summaryrefslogtreecommitdiff
path: root/community/task/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/task/PKGBUILD')
-rw-r--r--community/task/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/task/PKGBUILD b/community/task/PKGBUILD
index 27e46c747..3bf09ecd3 100644
--- a/community/task/PKGBUILD
+++ b/community/task/PKGBUILD
@@ -6,14 +6,14 @@
pkgname=task
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A command-line todo list manager"
arch=('i686' 'x86_64')
url="http://taskwarrior.org/projects/show/taskwarrior/"
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', 'lua: for luaexport addon')
+makedepends=('cmake' 'lua')
+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)
sha256sums=('78971e366c2395de1cc4b0c4fc41dd950c309d3bc2f6e9594b4c5821ad6775bd')
@@ -28,7 +28,8 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm644 "$pkgdir/usr/share/doc/task/scripts/bash/task_completion.sh" "$pkgdir/usr/share/bash_completion/completions/task_completion.sh"
+ # Note that we rename the bash completion script for bash-completion > 1.99, until upstream does so.
+ install -Dm644 "$pkgdir/usr/share/doc/task/scripts/bash/task_completion.sh" "$pkgdir/usr/share/bash-completion/completions/task"
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"