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 | |
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')
-rw-r--r-- | app-misc/task/Manifest | 1 | ||||
-rw-r--r-- | app-misc/task/task-2.5.3.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest index 637c9be95179..ae8a2ca6c36e 100644 --- a/app-misc/task/Manifest +++ b/app-misc/task/Manifest @@ -1 +1,2 @@ DIST task-2.5.1.tar.gz 903428 BLAKE2B afa17364984237ea589921afb4379297b128ea1bb6b0834f875b1b02b38dbfde5e961122fdde00dc5ff29b56226a5ce0f805bd1be8a8194c9e185ab80ad6d6c2 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 +DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677 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/* +} |