timewarrior, tasksh dazu

This commit is contained in:
Florian Tham
2016-12-19 12:39:05 +01:00
parent 2c394267ce
commit 8af912de4a
4 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Timewarrior is a command-line time tracker."
HOMEPAGE="https://timewarrior.net"
SRC_URI="https://taskwarrior.org/download/timew-1.0.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/cmake"
RDEPEND="${DEPEND}"
src_compile() {
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
make
}
src_install() {
dobin src/timew
doman doc/man/timew.1
dodoc ChangeLog README.md LICENSE AUTHORS NEWS
docinto holidays
dodoc doc/holidays/{README,holidays.en-US,refresh}
docinto themes
dodoc doc/themes/{README,*.theme}
docinto ext
dodoc ext/{README,csv.py,debug.py,on-modify.timewarrior,totals.py}
}