holgersson-overlay/app-vim/vim-obsession/vim-obsession-1.0_p20200119.ebuild
Nils Freydank 4fc130a6bf
app-vim/vim-obsession: Add new package version 1.0_p20200119
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2021-03-14 20:23:40 +01:00

34 lines
866 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit vim-plugin
COMMIT_ID="96a3f837c112cb64e0a9857b69f6d6a71041155e"
DESCRIPTION="vim plugin: mksession automation tool"
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=4472 https://github.com/tpope/vim-obsession"
LICENSE="vim"
IUSE="test"
RESTRICT="!test? ( test )"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tpope/vim-obsession.git"
else
if [[ ${PV} == *_p* ]]; then
SRC_URI="https://github.com/tpope/vim-obsession/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/vim-obsession-${COMMIT_ID}"
KEYWORDS="~amd64 ~x86"
else
SRC_URI="https://github.com/tpope/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
fi
DOCS=(
README.markdown
CONTRIBUTING.markdown
)