Skip to content

Commit

Permalink
app-vim/alternate: install documentation.
Browse files Browse the repository at this point in the history
Gentoo-Bug: https://bugs.gentoo.org/483552

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
monsieurp committed Mar 6, 2017
1 parent 0ed032b commit 8fa9c24
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-vim/alternate/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST alternate-2.18.tar.bz2 7907 SHA256 2367638f93c6ce3681a6ad6d5c83f586cd6598abd9f0b20bf02c740ac0efb59e SHA512 397d39a5c5fd186f32f3e0a1651f9b9f739899ffcfdd344e85117c4bb676d8fb8c668410754fefe8934ff1a57537387d49d115dfa17bdca896e423935840ae3f WHIRLPOOL d7635d1812b311232fcbee42d94ad9a0b86176f789d5f9336eb40d2efe5c1a2f660008b8facf5dbba8c094946a574e6b379dd7262dea4aff278c34b7cbe25ec7
DIST alternate.txt 8897 SHA256 a8fb8daabeee00b7a5c22b65f76dc0758b3e5fcfb95297235ec3ce102bdc4eb3 SHA512 92b24aef5fe1fb459b4cb85ca780ae20126bc79138ac15dec652c15a89b688d40bedc00bdae8fce912c8805b24b8805e45ddbd9e6b1ec10c20e61eed11d37651 WHIRLPOOL 780ae8514b65158a4872821f6847d0186d0ccfdd8b2b232617926aa2d907fb59a7d55abfceac96118565799cf6fc14b4def15ba32c1017126f4ff9f948ae3882
33 changes: 33 additions & 0 deletions app-vim/alternate/alternate-2.18-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit vim-plugin

DESCRIPTION="vim plugin: quickly switch between .c and .h files"
HOMEPAGE="https://github.com/vim-scripts/a.vim"
SRC_URI="
https://github.com/vim-scripts/a.vim/archive/${PV}.tar.bz2 -> ${P}.tar.bz2
http://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"

VIM_PLUGIN_HELPTEXT=\
"This plugin provides a new :A command which will switch between a .c
file and the associated .h file. There is also :AS to split windows and
:AV to split windows vertiically."

VIM_PLUGIN_HELPFILES="${PN}.txt"

PATCHES=(
"${FILESDIR}"/${P}-hh-cc-alternation.patch
)

src_prepare() {
default
mkdir -p "${S}/doc" || die
cp "${DISTDIR}/${PN}.txt" "${S}/doc" || die
}

0 comments on commit 8fa9c24

Please sign in to comment.