From d8a9aad32663b7a4e6e49213c8380e3f7110bd9d Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 30 May 2021 16:21:13 +0200 Subject: [PATCH] app-vim/visual-multi: Bump to 0.5.8_p20210513 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Nils Freydank --- app-vim/visual-multi/Manifest | 1 + .../visual-multi-0.5.8_p20210527.ebuild | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 app-vim/visual-multi/visual-multi-0.5.8_p20210527.ebuild diff --git a/app-vim/visual-multi/Manifest b/app-vim/visual-multi/Manifest index fe1b878..34e9ae1 100644 --- a/app-vim/visual-multi/Manifest +++ b/app-vim/visual-multi/Manifest @@ -1 +1,2 @@ DIST visual-multi-0.5.8_p20210513.tar.gz 93259 BLAKE2B 3fb716445c846925fee9b4b48d857e0f1f45fb44ab4cae16737879f38a05d5dff04363a86b8c8242f5f4cd15522661fc2e4ca1c182a0d11d6e96ffc7df555f6e SHA512 a0a4112cbb6c4c41da036ff9df020bbc502a161e529143c9d4539eb517fc544dbed40b54bfb128a52f4e79c3e016da2894af42a490d0350c35f0c010a4274769 +DIST visual-multi-0.5.8_p20210527.tar.gz 93291 BLAKE2B ed52d27aa9fff7f5cee2dd0b42f3999de7cfe33e3c40286dd0ec4ac0b6bfce2f4b7d2399de3ce87e54386d2450379a84e73696db1d3d91f695e15679e988b24f SHA512 180e632da6c8761a41cf3aa5a6efe771c5abe8398974b3cfaa60d3ed67aff1a7418fc5056ac9036fd5b001ede8e8ea07647d2596245a5488bedd5552cb895c5c diff --git a/app-vim/visual-multi/visual-multi-0.5.8_p20210527.ebuild b/app-vim/visual-multi/visual-multi-0.5.8_p20210527.ebuild new file mode 100644 index 0000000..3188d57 --- /dev/null +++ b/app-vim/visual-multi/visual-multi-0.5.8_p20210527.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit vim-plugin + +COMMIT_ID="8041a909fc3f740e9d110dd2e95980ff4645785b" + +DESCRIPTION="vim plugin: Multiple cursors plugin for vim/neovim" +HOMEPAGE="https://github.com/mg979/vim-visual-multi" +LICENSE="MIT" +IUSE="test" +RESTRICT="!test? ( test )" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mg979/vim-visual-multi.git" +else + if [[ ${PV} == *_p* ]]; then + SRC_URI="https://github.com/mg979/vim-${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/vim-${PN}-${COMMIT_ID}" + KEYWORDS="~amd64 ~x86" + else + SRC_URI="https://github.com/tpope/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/vim-${P}" + KEYWORDS="~amd64 ~x86" + fi +fi + +DOCS=( README.md ) + +pkg_postinst(){ + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # ^this is a new installation, so: + elog "" + elog "To start the visual-mode tutorial, run:" + elog "vim -Nu /usr/share/vim/vimfiles/doc/vm-tutorial" + fi +}