summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-26 19:01:22 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-26 19:03:32 +0200
commit81a0e50dc553309658a4cf769d35d0844ce45384 (patch)
treec1800829db9d3e5dec3bd61cc13e98379208f951 /app-misc/vit
parentapp-crypt/efitools: Use snapshot for building, #585714 (diff)
downloadgentoo-81a0e50dc553309658a4cf769d35d0844ce45384.tar.gz
gentoo-81a0e50dc553309658a4cf769d35d0844ce45384.tar.bz2
gentoo-81a0e50dc553309658a4cf769d35d0844ce45384.zip
app-misc/vit: Use snapshot for building, #585718
Diffstat (limited to 'app-misc/vit')
-rw-r--r--app-misc/vit/vit-1.2.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/app-misc/vit/vit-1.2.ebuild b/app-misc/vit/vit-1.2.ebuild
index 46acade83869..ea59cdbc9179 100644
--- a/app-misc/vit/vit-1.2.ebuild
+++ b/app-misc/vit/vit-1.2.ebuild
@@ -4,21 +4,15 @@
EAPI=5
-inherit eutils git-r3
+inherit eutils
DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
HOMEPAGE="http://tasktools.org/projects/vit.html"
-
-EGIT_REPO_URI="https://git.tasktools.org/scm/ex/vit.git"
-if [[ ${PV} = 9999* ]]; then
- KEYWORDS=""
-else
- EGIT_COMMIT=v${PV}
- KEYWORDS="~amd64 ~arm ~x86"
-fi
+SRC_URI="https://git.tasktools.org/plugins/servlet/archive/projects/EX/repos/vit?at=refs%2Ftags%2Fv1.2&format=tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="
@@ -27,6 +21,8 @@ DEPEND="
dev-perl/Curses"
RDEPEND="${DEPEND}"
+S=${WORKDIR}
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \
"${FILESDIR}"/${PN}-fix-man-installs.patch