mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-misc/timew: drop 1.4.3-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST timew-1.4.3.tar.gz 3188726 BLAKE2B ded92b2ba801023e7f6bc59c0fc17ce069c8279ee92f39280c50dabec0a2425b8612f73edf7842abdbb0b21772244eda325512070c091f32d17ff69cfcd844fa SHA512 89c98ad19d3a5ab5d4e02819d79e553cca4e93da99ec02bbf845b96b421cd084f6786de160e90c97854b50da49448472e9a4c7d23e75c8a93ecd67dda768b24a
|
||||
DIST timew-1.7.1.tar.gz 3102854 BLAKE2B e3ae527a5405bf27e92619f9cc02046646a8ef60ae721c1ad66e30560c9a8535e6e71388c7ea2eeb84b6b5bb8d7ce4845b77e6a36a54869e5f80021232a924ed SHA512 f28f6c47cc05d8055cc3fae9e96d1936554c685090a40f8af1995e5357947cb9bdfab0ec091f68693a566a876e06eda502de074900f7368a913e85d7e4cf87f1
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2023 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 ~arm ~arm64 ~x86"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTIMEW_DOCDIR=share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}"/"${P}"_build || die
|
||||
|
||||
eninja test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dodoc -r ext
|
||||
docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README}
|
||||
|
||||
doman doc/man1/*.1
|
||||
doman doc/man7/*.7
|
||||
}
|
||||
|
||||
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