diff options
author | David Denoncin <ddenoncin@gmail.com> | 2021-02-21 10:11:52 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-28 11:03:08 +0200 |
commit | 54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f (patch) | |
tree | 13d44bc8dac9a48ff63742929e10ed21d5730bc3 /app-misc/task/task-2.5.3.ebuild | |
parent | dev-util/cloc: version bump to 1.88 (diff) | |
download | gentoo-54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f.tar.gz gentoo-54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f.tar.bz2 gentoo-54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f.zip |
app-misc/task: vbump 2.5.3
Closes: https://bugs.gentoo.org/764224
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Denoncin <ddenoncin@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/task/task-2.5.3.ebuild')
-rw-r--r-- | app-misc/task/task-2.5.3.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/task/task-2.5.3.ebuild b/app-misc/task/task-2.5.3.ebuild new file mode 100644 index 000000000000..cf99cc313c3c --- /dev/null +++ b/app-misc/task/task-2.5.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 cmake + +DESCRIPTION="Taskwarrior is a command-line todo list manager" +HOMEPAGE="https://taskwarrior.org/" +SRC_URI="https://taskwarrior.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" +IUSE="+sync" + +DEPEND=" + sync? ( net-libs/gnutls ) +" + +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + + # don't automatically install scripts + sed -i '/scripts/d' CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=( + -DENABLE_SYNC=$(usex sync) + -DTASK_DOCDIR=share/doc/${PF} + -DTASK_RCDIR=share/${PN}/rc + -DBUILD_SHARED_LIBS=off # bug 764224 + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + newbashcomp scripts/bash/task.sh task + + # vim syntax + rm scripts/vim/README || die + insinto /usr/share/vim/vimfiles + doins -r scripts/vim/* + + # zsh-completions + insinto /usr/share/zsh/site-functions + doins scripts/zsh/* + + exeinto "/usr/share/${PN}/scripts" + doexe scripts/add-ons/* +} |