Date: Sunday, March 3, 2013 @ 11:48:35 Author: plewis Revision: 85577
archrelease: copy trunk to staging-i686, staging-x86_64 Added: task/repos/staging-i686/ task/repos/staging-i686/PKGBUILD (from rev 85576, task/trunk/PKGBUILD) task/repos/staging-x86_64/ task/repos/staging-x86_64/PKGBUILD (from rev 85576, task/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) Copied: task/repos/staging-i686/PKGBUILD (from rev 85576, task/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-03-03 10:48:35 UTC (rev 85577) @@ -0,0 +1,42 @@ +# Maintainer: Peter Lewis <ple...@aur.archlinux.org> +# Contributor: TDY <t...@gmx.com> +# Contributor: Ray Kohler <atara...@gmail.com> +# Contributor: muflax <muf...@gmail.com> +# Contributor: coolkehon <coolke...@gmail.com> + +pkgname=task +pkgver=2.1.2 +pkgrel=4 +pkgdesc="A command-line todo list manager" +arch=('i686' 'x86_64') +url="http://taskwarrior.org/projects/show/taskwarrior/" +license=('MIT') +depends=('lua' 'util-linux') +makedepends=('cmake' 'lua') +optdepends=('bash-completion: for bash completion' 'python: for python export addon' 'ruby: for ruby export addon' 'perl: for perl export addon' 'perl-json: for perl export addon') +source=(http://www.taskwarrior.org/download/$pkgname-$pkgver.tar.gz) +sha256sums=('cf5171b54b6d2d2dcd9c559f437cf8a2cb3836c7631edf96a16efbf8b4383e36') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # 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.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" + + install -Dm644 "$pkgdir/usr/share/doc/task/scripts/vim/ftdetect/task.vim" "$pkgdir/usr/share/vim/vimfiles/ftdetect/task.vim" + 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" +} Copied: task/repos/staging-x86_64/PKGBUILD (from rev 85576, task/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-03-03 10:48:35 UTC (rev 85577) @@ -0,0 +1,42 @@ +# Maintainer: Peter Lewis <ple...@aur.archlinux.org> +# Contributor: TDY <t...@gmx.com> +# Contributor: Ray Kohler <atara...@gmail.com> +# Contributor: muflax <muf...@gmail.com> +# Contributor: coolkehon <coolke...@gmail.com> + +pkgname=task +pkgver=2.1.2 +pkgrel=4 +pkgdesc="A command-line todo list manager" +arch=('i686' 'x86_64') +url="http://taskwarrior.org/projects/show/taskwarrior/" +license=('MIT') +depends=('lua' 'util-linux') +makedepends=('cmake' 'lua') +optdepends=('bash-completion: for bash completion' 'python: for python export addon' 'ruby: for ruby export addon' 'perl: for perl export addon' 'perl-json: for perl export addon') +source=(http://www.taskwarrior.org/download/$pkgname-$pkgver.tar.gz) +sha256sums=('cf5171b54b6d2d2dcd9c559f437cf8a2cb3836c7631edf96a16efbf8b4383e36') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # 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.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" + + install -Dm644 "$pkgdir/usr/share/doc/task/scripts/vim/ftdetect/task.vim" "$pkgdir/usr/share/vim/vimfiles/ftdetect/task.vim" + 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" +}