Gentoo Archives: gentoo-commits

From: Leonardo Hernandez <leohdz172@×××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/zsh-silver/
Date: Sat, 18 Sep 2021 01:10:58
Message-Id: 1631927259.5b35c8fef04d0bc4b9b68b76ba778c1eb4515f9f.leohdz172@gentoo
1 commit: 5b35c8fef04d0bc4b9b68b76ba778c1eb4515f9f
2 Author: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
3 AuthorDate: Sat Sep 18 01:07:39 2021 +0000
4 Commit: Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
5 CommitDate: Sat Sep 18 01:07:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b35c8fe
7
8 app-shells/zsh-silver: add package
9
10 add live version, it doesn't have any release
11
12 Package-Manager: Portage-3.0.20, Repoman-3.0.3
13 Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>
14
15 app-shells/zsh-silver/metadata.xml | 12 ++++++++++
16 app-shells/zsh-silver/zsh-silver-9999.ebuild | 35 ++++++++++++++++++++++++++++
17 2 files changed, 47 insertions(+)
18
19 diff --git a/app-shells/zsh-silver/metadata.xml b/app-shells/zsh-silver/metadata.xml
20 new file mode 100644
21 index 000000000..b3a613778
22 --- /dev/null
23 +++ b/app-shells/zsh-silver/metadata.xml
24 @@ -0,0 +1,12 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 + <maintainer type="person">
29 + <name>Leonardo Hernandez Hernandez</name>
30 + <email>leohdz172@×××××××.com</email>
31 + </maintainer>
32 + <upstream>
33 + <bugs-to>https://github.com/silver-prompt/zsh/issues</bugs-to>
34 + <doc>https://github.com/silver-prompt/zsh/blob/master/README.md</doc>
35 + </upstream>
36 +</pkgmetadata>
37
38 diff --git a/app-shells/zsh-silver/zsh-silver-9999.ebuild b/app-shells/zsh-silver/zsh-silver-9999.ebuild
39 new file mode 100644
40 index 000000000..abd6ff029
41 --- /dev/null
42 +++ b/app-shells/zsh-silver/zsh-silver-9999.ebuild
43 @@ -0,0 +1,35 @@
44 +# Copyright 1999-2021 Gentoo Authors
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=8
48 +
49 +DESCRIPTION="Zsh plugin for silver"
50 +HOMEPAGE="https://github.com/silver-prompt/zsh"
51 +
52 +inherit git-r3
53 +EGIT_REPO_URI="https://github.com/silver-prompt/zsh.git"
54 +
55 +LICENSE="GPL-3"
56 +SLOT="0"
57 +
58 +RDEPEND="
59 + app-shells/zsh
60 + app-shells/silver
61 +"
62 +
63 +DEPEND="${RDEPEND}"
64 +
65 +src_install() {
66 + insinto /usr/share/zsh/site-contrib/zsh-silver
67 + doins silver.plugin.zsh
68 +
69 + einstalldocs
70 +}
71 +
72 +pkg_postinst() {
73 + elog
74 + elog "In order to use ${CATEGORY}/${PN} add"
75 + elog ". /usr/share/zsh/site-contrib/zsh-silver/silver.plugin.zsh"
76 + elog "at the end of your ~/.zshrc"
77 + elog
78 +}