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 <leohdz172@outlook.com>
This commit is contained in:
Leonardo Hernandez Hernandez
2021-09-17 20:07:39 -05:00
parent a298c4e56d
commit 5b35c8fef0
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Leonardo Hernandez Hernandez</name>
<email>leohdz172@outlook.com</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/silver-prompt/zsh/issues</bugs-to>
<doc>https://github.com/silver-prompt/zsh/blob/master/README.md</doc>
</upstream>
</pkgmetadata>

View File

@@ -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
}