From ca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sat, 12 May 2018 00:00:51 +0200 Subject: [PATCH] app-vim/alternate: fix variable S. Closes: https://bugs.gentoo.org/649836 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- app-vim/alternate/alternate-2.18-r2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app-vim/alternate/alternate-2.18-r2.ebuild b/app-vim/alternate/alternate-2.18-r2.ebuild index 8f7e87cca08b2..5b01204abb9ef 100644 --- a/app-vim/alternate/alternate-2.18-r2.ebuild +++ b/app-vim/alternate/alternate-2.18-r2.ebuild @@ -6,12 +6,11 @@ EAPI=6 inherit vim-plugin DESCRIPTION="vim plugin: quickly switch between .c and .h files" -HOMEPAGE="https://github.com/vim-scripts/a.vim -https://www.vim.org/scripts/script.php?script_id=31" +HOMEPAGE="https://github.com/vim-scripts/a.vim https://www.vim.org/scripts/script.php?script_id=31" + SRC_URI=" https://github.com/vim-scripts/a.vim/archive/${PV}.tar.gz -> ${P}.tar.gz - https://www.vim.org/scripts/download_script.php?src_id=6347 -> ${PN}.txt -" + https://www.vim.org/scripts/download_script.php?src_id=6347 -> ${PN}.txt" LICENSE="alternate" KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" @@ -27,6 +26,8 @@ PATCHES=( "${FILESDIR}"/${P}-hh-cc-alternation.patch ) +S="${WORKDIR}/a.vim-${PV}" + src_prepare() { default mkdir -p "${S}/doc" || die