1 |
commit: bdfbcde06d84c471e4cf8bcb668e61932aeefb56 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri May 1 18:07:02 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Fri May 1 18:14:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdfbcde0 |
7 |
|
8 |
app-shells/nice-exit-code: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-shells/nice-exit-code/Manifest | 1 + |
14 |
app-shells/nice-exit-code/metadata.xml | 12 ++++++++ |
15 |
.../nice-exit-code-0_pre20200117.ebuild | 34 ++++++++++++++++++++++ |
16 |
3 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/app-shells/nice-exit-code/Manifest b/app-shells/nice-exit-code/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..33594fb |
21 |
--- /dev/null |
22 |
+++ b/app-shells/nice-exit-code/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST nice-exit-code-0_pre20200117.tar.gz 2688 BLAKE2B a67784927f98c0de72e73512eaf032880957e0ec0eaad940c594951bc9e5d898c62350007398e708d0cfc855e3db3046bb481adf867b83dd1a1abf501e3d6888 SHA512 c74a30f28af9ad58b77f470a183006a8fcc4d1f15ba19ce3c2e6ca2e0fd947d25873b36beb86b66bbea97ea1c66b6f088269ca4ab20233b1adea35eb527e5e78 |
25 |
|
26 |
diff --git a/app-shells/nice-exit-code/metadata.xml b/app-shells/nice-exit-code/metadata.xml |
27 |
new file mode 100644 |
28 |
index 0000000..53ab5fd |
29 |
--- /dev/null |
30 |
+++ b/app-shells/nice-exit-code/metadata.xml |
31 |
@@ -0,0 +1,12 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>lssndrbarbieri@×××××.com</email> |
37 |
+ <name>Alessandro Barbieri</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <bugs-to>https://github.com/bric3/nice-exit-code/issues</bugs-to> |
41 |
+ <remote-id type="github">bric3/nice-exit-code</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild b/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild |
46 |
new file mode 100644 |
47 |
index 0000000..72da8fb |
48 |
--- /dev/null |
49 |
+++ b/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild |
50 |
@@ -0,0 +1,34 @@ |
51 |
+# Copyright 1999-2020 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI="7" |
55 |
+ |
56 |
+COMMIT="de7ac733d28705b5e9989b9c8231ac88eb33d841" |
57 |
+ |
58 |
+DESCRIPTION="ZSH plugin that maps exit status code to human readable string" |
59 |
+HOMEPAGE="https://github.com/bric3/nice-exit-code" |
60 |
+SRC_URI="https://github.com/bric3/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
61 |
+ |
62 |
+LICENSE="MIT" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64" |
65 |
+DEPEND="" |
66 |
+RDEPEND=" |
67 |
+ app-shells/zsh |
68 |
+" |
69 |
+ |
70 |
+DOCS=( README.md ) |
71 |
+ |
72 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
73 |
+ |
74 |
+src_install() { |
75 |
+ einstalldocs |
76 |
+ rm -rf "LICENSE" "${DOCS[@]}" || die |
77 |
+ dodir "/usr/share/zsh/plugins" |
78 |
+ insinto "/usr/share/zsh/plugins/${PN}" |
79 |
+ doins -r . |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ einfo "To use this module please read the README" |
84 |
+} |