From a90b8d8edc0bdd86bbde8907cd1239ff6edfbcbf Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sun, 19 Mar 2023 18:33:23 +0100 Subject: [PATCH] app-vim/xquery-syntax: EAPI8 bump Signed-off-by: Michael Mair-Keimberger Signed-off-by: Conrad Kostecki --- .../xquery-syntax/xquery-syntax-0.1-r3.ebuild | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app-vim/xquery-syntax/xquery-syntax-0.1-r3.ebuild diff --git a/app-vim/xquery-syntax/xquery-syntax-0.1-r3.ebuild b/app-vim/xquery-syntax/xquery-syntax-0.1-r3.ebuild new file mode 100644 index 0000000000000..a1bc0756a5d88 --- /dev/null +++ b/app-vim/xquery-syntax/xquery-syntax-0.1-r3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vim-plugin + +DESCRIPTION="vim plugin: XQuery syntax highlighting" +HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=803" + +LICENSE="vim.org" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +VIM_PLUGIN_HELPTEXT=\ +"This plugin provides syntax highlighting for XQuery files." + +src_prepare() { + default + # use hi def link. Bug #101788, bug #101804. + sed -i -e 's,^hi\(ghlight\)\? link,hi def link,' syntax/xquery.vim \ + || die "sed failed" +}