You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/vit/vit-9999.ebuild

41 lines
777 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils git-r3
DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
HOMEPAGE="http://tasktools.org/projects/vit.html"
EGIT_REPO_URI="https://git.tasktools.org/EX/vit.git"
if [[ ${PV} = 9999* ]]; then
KEYWORDS=""
else
EGIT_COMMIT=v${PV}
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="
app-misc/task
dev-lang/perl
dev-perl/Curses"
RDEPEND="${DEPEND}"
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
}