mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/timew: cleanup old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST timew-1.3.0.tar.gz 1125892 BLAKE2B 7ef9f6f405d710addd90758ea1188678aa3269354f81be583f63eb920c0163d0a428e9b62d896ba189f842494835df785e1f26d877bda03205a94067af8456d0 SHA512 38bf44c83d2315155ee43085957824db69d9501abf2cf0bdf51636169043d82b701ebfac3176bc1dfc0186abb7db7a3a40111968c85597e7edb73c66083f0ab0
|
||||
DIST timew-1.4.2.tar.gz 1316841 BLAKE2B c451f37aeb32e999fe2cdca2eb5f234c7424b76f489324d5723a3649da37f53f5094989bdf8d5c2d27f5daa0d75c72ec4a01e3c19b8b064f28e4db82587498b9 SHA512 fe4c3def6b2cd78793dd97a38a61497b3910cd87a3315f826c64893b96a998bf30363f0df1892b74b718d03a279d51c1a636739225e101c5c126794e434076f0
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tracks your time from the command line, and generates reports"
|
||||
HOMEPAGE="https://timewarrior.net"
|
||||
SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE=release
|
||||
-DTIMEW_DOCDIR=share/doc/"${PF}"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dodoc -r ext
|
||||
docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To integrate timewarrior with taskwarrior, issue the following commands:"
|
||||
elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/"
|
||||
elog "chmod +x ~/.task/hooks/on-modify.timewarrior"
|
||||
elog "see https://timewarrior.net/docs/taskwarrior.html"
|
||||
}
|
||||
Reference in New Issue
Block a user