summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Inches <craig.inches@xayto.net>2015-12-31 13:52:41 +0800
committerCraig Inches <craig.inches@xayto.net>2015-12-31 13:52:41 +0800
commit2106ef62c9e8846e19ebf883fb85eb086d534462 (patch)
tree24665e3324b0bafaf8ff30d754f98f4bf1132001 /app-misc/task
parentgames-fps/soldieroffortune-demo: tidy; honor GAMES_BINDIR (diff)
downloadgentoo-2106ef62c9e8846e19ebf883fb85eb086d534462.tar.gz
gentoo-2106ef62c9e8846e19ebf883fb85eb086d534462.tar.bz2
gentoo-2106ef62c9e8846e19ebf883fb85eb086d534462.zip
Version bump to 2.5.0
Package-Manager: portage-2.3.6-r9 Manifest-Sign-Key: 0x6f5032f633ed1a3e Package-Manager: portage-2.2.24
Diffstat (limited to 'app-misc/task')
-rw-r--r--app-misc/task/Manifest1
-rw-r--r--app-misc/task/task-2.5.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest
index 7ab22c0d1fd0..596027a5cdfa 100644
--- a/app-misc/task/Manifest
+++ b/app-misc/task/Manifest
@@ -1 +1,2 @@
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
diff --git a/app-misc/task/task-2.5.0.ebuild b/app-misc/task/task-2.5.0.ebuild
new file mode 100644
index 000000000000..338e35f63c15
--- /dev/null
+++ b/app-misc/task/task-2.5.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 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() {
+ # use the correct directory locations
+ sed -i "s:/usr/local/bin:${EPREFIX}/usr/bin:" \
+ scripts/add-ons/* || die
+
+ # 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/*
+}