gentoo/app-vim/lightline/lightline-9999.ebuild
Adrian Schollmeyer e23ab2743f
app-vim/lightline: update EAPI 6 -> 8, small QA and build fixes
This commit bumps to the latest EAPI and fixes the versioned build by
updating the SRC_URI and setting S for non-live versions. The explicitly
set src_compile() is dropped, since upstream provides no Makefile and
thus the function is no-op anyway.

Bug: https://bugs.gentoo.org/889198
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-01-03 21:09:51 +02:00

22 lines
608 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vim-plugin
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/itchyny/lightline.vim/"
else
# LIGHTLINE_COMMIT=
SRC_URI="https://github.com/itchyny/lightline.vim/archive/${LIGHTLINE_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}.vim-${LIGHTLINE_COMMIT}"
fi
DESCRIPTION="vim plugin: A light and configurable statusline/tabline"
HOMEPAGE="https://github.com/itchyny/lightline.vim/"
LICENSE="MIT"
VIM_PLUGIN_HELPFILES="${PN}"