37 lines
781 B
Bash
37 lines
781 B
Bash
# 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}
|
|
|
|
}
|