app-vim/alternate: fix variable S.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 11 May 2018 22:00:51 +0000 (00:00 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 11 May 2018 22:08:45 +0000 (00:08 +0200)
Closes: https://bugs.gentoo.org/649836
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-vim/alternate/alternate-2.18-r2.ebuild

index 8f7e87cca08b2d2cfcad5c3456177b62bd2adb11..5b01204abb9ef148997ef79dd89d78ea14537c4f 100644 (file)
@@ -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