commit:     5b35c8fef04d0bc4b9b68b76ba778c1eb4515f9f
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Sep 18 01:07:39 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 01:07:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b35c8fe

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 <AT> outlook.com>

 app-shells/zsh-silver/metadata.xml           | 12 ++++++++++
 app-shells/zsh-silver/zsh-silver-9999.ebuild | 35 ++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-shells/zsh-silver/metadata.xml 
b/app-shells/zsh-silver/metadata.xml
new file mode 100644
index 000000000..b3a613778
--- /dev/null
+++ b/app-shells/zsh-silver/metadata.xml
@@ -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>[email protected]</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>

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 000000000..abd6ff029
--- /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
+}

Reply via email to