summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-05-12 00:00:51 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-05-12 00:08:45 +0200
commitca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6 (patch)
tree309ab7ca530ae465f9ce058de6eecaabd0188f3c /app-vim/alternate
parentdev-python/isort: version bump. (diff)
downloadgentoo-ca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6.tar.gz
gentoo-ca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6.tar.bz2
gentoo-ca0cbb3b43e8cd092f5dc802b872bee7c8b72ee6.zip
app-vim/alternate: fix variable S.
Closes: https://bugs.gentoo.org/649836 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-vim/alternate')
-rw-r--r--app-vim/alternate/alternate-2.18-r2.ebuild9
1 files 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 8f7e87cca08b..5b01204abb9e 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