From 5b35c8fef04d0bc4b9b68b76ba778c1eb4515f9f Mon Sep 17 00:00:00 2001 From: Leonardo Hernandez Hernandez Date: Fri, 17 Sep 2021 20:07:39 -0500 Subject: [PATCH] app-shells/zsh-silver: add package add live version, it doesn't have any release Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Leonardo Hernandez Hernandez --- app-shells/zsh-silver/metadata.xml | 12 +++++++ app-shells/zsh-silver/zsh-silver-9999.ebuild | 35 ++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app-shells/zsh-silver/metadata.xml create mode 100644 app-shells/zsh-silver/zsh-silver-9999.ebuild diff --git a/app-shells/zsh-silver/metadata.xml b/app-shells/zsh-silver/metadata.xml new file mode 100644 index 0000000000..b3a6137780 --- /dev/null +++ b/app-shells/zsh-silver/metadata.xml @@ -0,0 +1,12 @@ + + + + + Leonardo Hernandez Hernandez + leohdz172@outlook.com + + + https://github.com/silver-prompt/zsh/issues + https://github.com/silver-prompt/zsh/blob/master/README.md + + diff --git a/app-shells/zsh-silver/zsh-silver-9999.ebuild b/app-shells/zsh-silver/zsh-silver-9999.ebuild new file mode 100644 index 0000000000..abd6ff029c --- /dev/null +++ b/app-shells/zsh-silver/zsh-silver-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Zsh plugin for silver" +HOMEPAGE="https://github.com/silver-prompt/zsh" + +inherit git-r3 +EGIT_REPO_URI="https://github.com/silver-prompt/zsh.git" + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + app-shells/zsh + app-shells/silver +" + +DEPEND="${RDEPEND}" + +src_install() { + insinto /usr/share/zsh/site-contrib/zsh-silver + doins silver.plugin.zsh + + einstalldocs +} + +pkg_postinst() { + elog + elog "In order to use ${CATEGORY}/${PN} add" + elog ". /usr/share/zsh/site-contrib/zsh-silver/silver.plugin.zsh" + elog "at the end of your ~/.zshrc" + elog +}