diff options
Diffstat (limited to 'app-misc/task/task-2.5.3.ebuild')
-rw-r--r-- | app-misc/task/task-2.5.3.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app-misc/task/task-2.5.3.ebuild b/app-misc/task/task-2.5.3.ebuild index cf99cc313c3c..4bf8719bee3d 100644 --- a/app-misc/task/task-2.5.3.ebuild +++ b/app-misc/task/task-2.5.3.ebuild @@ -7,7 +7,8 @@ inherit bash-completion-r1 cmake DESCRIPTION="Taskwarrior is a command-line todo list manager" HOMEPAGE="https://taskwarrior.org/" -SRC_URI="https://taskwarrior.org/download/${P}.tar.gz" +SRC_URI="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v2.5.3/task-2.5.3.tar.gz +https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v2.5.3/tests-2.5.3.tar.gz" LICENSE="MIT" SLOT="0" @@ -21,6 +22,9 @@ DEPEND=" RDEPEND="${DEPEND}" src_prepare() { + # move test directory into source directory + mv "${WORKDIR}"/test "${WORKDIR}"/"$P" || die + cmake_src_prepare # don't automatically install scripts @@ -38,6 +42,12 @@ src_configure() { cmake_src_configure } +src_test() { + cd "${WORKDIR}"/"${P}"_build + + eninja test +} + src_install() { cmake_src_install |