mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-vim/showmarks: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
e2a9fdab1d
commit
7dc86f0ee7
29
app-vim/showmarks/showmarks-2.2-r2.ebuild
Normal file
29
app-vim/showmarks/showmarks-2.2-r2.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: show location marks visually"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=152"
|
||||
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="showmarks.txt"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir "${S}"/doc || die "can't make doc dir"
|
||||
|
||||
# This plugin uses an 'automatic HelpExtractor' variant. This causes
|
||||
# problems for us during the unmerge. Fortunately, sed can fix this
|
||||
# for us.
|
||||
sed -e '1,/^" HelpExtractorDoc:$/d' \
|
||||
"${S}"/plugin/showmarks.vim > "${S}"/doc/showmarks.txt \
|
||||
|| die "help extraction failed"
|
||||
sed -i -e '/^" HelpExtractor:$/,$d' "${S}"/plugin/showmarks.vim \
|
||||
|| die "help extract remove failed"
|
||||
}
|
||||
Reference in New Issue
Block a user