app-vim/nvim-lspconfig: Fix SRC_URI and Manifest

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2022-01-02 07:50:11 +01:00
parent 8a7a104350
commit f26ca34080
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 8 additions and 4 deletions

View File

@ -1 +1 @@
DIST nvim-lspconfig-0.1.0.tar.gz 169440 BLAKE2B 4a60273f089f78ae3de2bd5c445ecaa219e37505b5ae0858fb863661d8eb870c1fd31c4748c04cdae53b9e24fe09a001258fe86b57865d7345fb5dd5faff3673 SHA512 5a68dd0b03b265acbdbba53947f5246d058925fcbeb08b2e58cf869eb4d53a64cf6fa32b1128446abb30c05870c61a6861ccd117d2d2251d1c802a6ab69e9f21
DIST nvim-lspconfig-0.1.0.tar.gz 170693 BLAKE2B 364dc3d137dff74fbaef0c7b4c424064270d9c413f2aec45231c3a38bdf1370b1f44efcf032de2afe598f09c57dcc76f194e215b0cc136568e8587f7d2136345 SHA512 5900afad6589d4ad3b0c11b77c42ec0d2c1870635d0586422b26eff43ada58ab606112e825df5d413b81d222b6b91366ec2103de7a8504200ff009f19f4bffdf

View File

@ -1,4 +1,4 @@
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -21,8 +21,12 @@ then
inherit git-r3
EGIT_REPO_URI="https://github.com/neovim/${PN}.git"
else
SRC_URI="https://github.com/neovim/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
if [[ ${PV} == *_p* ]]; then
SRC_URI="https://github.com/neovim/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
else
SRC_URI="https://github.com/neovim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
fi
BDEPEND="virtual/pkgconfig"