holgersson-overlay/app-vim/vim-redacted/vim-redacted-0.2_p20191215.ebuild
Nils Freydank a9a5e81a29
app-vim/vim-redacted: Add new package version 0.2_p20191215
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2021-03-10 13:25:09 +01:00

26 lines
650 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit vim-plugin
COMMIT_ID="784aaab9d3ff20846eba6202086d5297efda004f"
DESCRIPTION="vim plugin: Redact text"
HOMEPAGE="https://github.com/dbmrq/vim-redacted"
LICENSE="vim"
IUSE="test"
RESTRICT="!test? ( test )"
if [[ ${PV} == *9999 ]]
then
inherit git-r3
# EGIT_REPO_URI="https://git.holgersson.xyz/mirror/vim-redacted.vim"
EGIT_REPO_URI="https://github.com/dbmrq/vim-redacted.git"
else
SRC_URI="https://github.com/dbmrq/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
KEYWORDS="~amd64 ~x86"
fi