diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-03-04 14:09:12 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-03-04 16:34:14 -0500 |
commit | 412a7e6a6097f3bb2c7adc54b7096b7d94d27562 (patch) | |
tree | be791ad972f189fe449d454a84580f455e20b38e /app-misc | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-412a7e6a6097f3bb2c7adc54b7096b7d94d27562.tar.gz gentoo-412a7e6a6097f3bb2c7adc54b7096b7d94d27562.tar.bz2 gentoo-412a7e6a6097f3bb2c7adc54b7096b7d94d27562.zip |
app-misc/task: version bump to 2.5.1
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/task/Manifest | 1 | ||||
-rw-r--r-- | app-misc/task/task-2.5.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest index 596027a5cdfa..0c0d0a298d6f 100644 --- a/app-misc/task/Manifest +++ b/app-misc/task/Manifest @@ -1,2 +1,3 @@ DIST task-2.4.4.tar.gz 2352265 SHA256 7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b SHA512 23565dc21bb5a05af5fe44235756ac5ecbd3b7cd94b2edc2ed0b0bd4efc5a12739cc8e3474174878595188ba726428b865dee3a79f0ad2550d5a0bc25415b103 WHIRLPOOL f071926d77a228289e2fb6a9e5c53e9db9e2d278879bf6249b04b0e7f7afe5f4195f9ea3fb42ac4aac318d0f53eda378ac24c73321d99a83c0f22295ad1dcaf4 DIST task-2.5.0.tar.gz 900285 SHA256 4d8e67415a6993108c11b8eeef99b76a991af11b22874adbb7ae367e09334636 SHA512 911ed33553c71d0578dda20774ff1c5762700957ed637ed849ef51c4cd00a53feabc18c477dbc4b618371d9ddc8fec71795f96d8474acbec8a91be8bb1ff1bfd WHIRLPOOL e17995f173c6935f46ab476517e16157771a52bb930a6287e3f17b68ebae19db380da0643ae7a1fe6ce549ccb11d8ebe71ed45b5b650eef4343902b70459e1e6 +DIST task-2.5.1.tar.gz 903428 SHA256 d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 WHIRLPOOL e4502a4f545eb5c044943758e3b4710db34c9011ccb58b95e70486c09593620a91cf547100025182867b69c87099cd8614b6bc28e21d5e0c0b88216f6df419ac diff --git a/app-misc/task/task-2.5.1.ebuild b/app-misc/task/task-2.5.1.ebuild new file mode 100644 index 000000000000..5f3af4a8d86e --- /dev/null +++ b/app-misc/task/task-2.5.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils bash-completion-r1 + +DESCRIPTION="Taskwarrior is a command-line todo list manager" +HOMEPAGE="http://taskwarrior.org/" +SRC_URI="http://taskwarrior.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" +IUSE="gnutls vim-syntax zsh-completion" + +DEPEND="sys-libs/readline:0 + gnutls? ( net-libs/gnutls ) + elibc_glibc? ( sys-apps/util-linux )" +RDEPEND="${DEPEND}" + +src_prepare() { + # don't automatically install scripts + sed -i '/scripts/d' CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_use gnutls GNUTLS) + -DTASK_DOCDIR=share/doc/${PF} + -DTASK_RCDIR=share/${PN}/rc + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + newbashcomp scripts/bash/task.sh task + + if use vim-syntax ; then + rm scripts/vim/README + insinto /usr/share/vim/vimfiles + doins -r scripts/vim/* + fi + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins scripts/zsh/* + fi + + exeinto /usr/share/${PN}/scripts + doexe scripts/add-ons/* +} |