diff options
Diffstat (limited to 'app-misc/vit/vit-1.2-r1.ebuild')
-rw-r--r-- | app-misc/vit/vit-1.2-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-misc/vit/vit-1.2-r1.ebuild b/app-misc/vit/vit-1.2-r1.ebuild new file mode 100644 index 000000000000..0b006e73c34b --- /dev/null +++ b/app-misc/vit/vit-1.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)" +HOMEPAGE="http://tasktools.org/projects/vit.html" +SRC_URI="https://git.tasktools.org/EX/vit/archive/v1.2.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=" + app-misc/task + dev-lang/perl + dev-perl/Curses" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \ + "${FILESDIR}"/${PN}-fix-man-installs.patch +} + +src_install() { + emake DESTDIR="${D}" SUDO="" install + dodoc AUTHORS README CHANGES + doman vit.1 vitrc.5 + + rm -rf "${ED}"/usr/man +} |