commit:     ca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri May 11 22:00:51 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri May 11 22:08:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca0cbb3b

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 8f7e87cca08..5b01204abb9 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

Reply via email to