app-vim/showmarks: drop 2.2-r1, EAPI6--

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger 2024-01-13 18:36:19 +01:00 committed by Michał Górny
parent 143e5fe9ed
commit ddebc769dd
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
1 changed files with 0 additions and 30 deletions

View File

@ -1,30 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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"
IUSE=""
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"
}