app-vim/alternate: fix variable S.

Closes: https://bugs.gentoo.org/649836
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Patrice Clement
2018-05-12 00:00:51 +02:00
parent 84d378a99d
commit ca0cbb3b43

View 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