1 |
commit: 03c80b9abdc9801043a6dbd2677bf39226e3e568 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 27 06:45:34 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 27 06:46:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c80b9a |
7 |
|
8 |
app-shells/liquidprompt: initial import |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
app-shells/liquidprompt/Manifest | 1 + |
13 |
app-shells/liquidprompt/liquidprompt-2.0.3.ebuild | 40 +++++++++++++++++++++++ |
14 |
app-shells/liquidprompt/metadata.xml | 11 +++++++ |
15 |
3 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..681bc629e62 |
20 |
--- /dev/null |
21 |
+++ b/app-shells/liquidprompt/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST liquidprompt-2.0.3.tar.gz 539054 BLAKE2B c94375e0def1764103afe04bb47ff25ced2aeb940b45392bea8a2889ce88d1ea0e03efc0652ec8bc873b9910bee7208e48aaef9a846760177049cc550a5cd8b0 SHA512 a77f1548dd233de9877b2b5dd4a64f05ef03890917486792eb1c362708ab0b635c517cc2a3ddc82731940017f209f626d177a4ac0b5554566faa720a7d88b550 |
24 |
|
25 |
diff --git a/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild b/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..037add1c934 |
28 |
--- /dev/null |
29 |
+++ b/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild |
30 |
@@ -0,0 +1,40 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="Full-featured & carefully designed adaptive prompt for Bash & Zsh" |
37 |
+HOMEPAGE="https://github.com/nojhan/liquidprompt" |
38 |
+SRC_URI=" |
39 |
+ https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz |
40 |
+ -> ${P}.tar.gz |
41 |
+" |
42 |
+S="${WORKDIR}/${PN}" |
43 |
+ |
44 |
+LICENSE="AGPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+BDEPEND="test? ( dev-util/shunit2 )" |
51 |
+ |
52 |
+DOCS=( CHANGELOG.md example.bashrc README.md ) |
53 |
+ |
54 |
+src_test() { |
55 |
+ cp "$(type -P shunit2)" tests/shunit2 || die |
56 |
+ ./tests.sh || die |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ default |
61 |
+ dobin liquidprompt |
62 |
+ |
63 |
+ insinto /usr/share/${PN} |
64 |
+ doins liquid.theme |
65 |
+ doins liquid.ps1 |
66 |
+ doins -r themes |
67 |
+ |
68 |
+ insinto /etc/ |
69 |
+ newins liquidpromptrc-dist liquidpromptrc |
70 |
+} |
71 |
|
72 |
diff --git a/app-shells/liquidprompt/metadata.xml b/app-shells/liquidprompt/metadata.xml |
73 |
new file mode 100644 |
74 |
index 00000000000..6d5867c2f36 |
75 |
--- /dev/null |
76 |
+++ b/app-shells/liquidprompt/metadata.xml |
77 |
@@ -0,0 +1,11 @@ |
78 |
+<?xml version="1.0" encoding="UTF-8"?> |
79 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
80 |
+<pkgmetadata> |
81 |
+ <maintainer type="person"> |
82 |
+ <email>arthurzam@g.o</email> |
83 |
+ <name>Arthur Zamarin</name> |
84 |
+ </maintainer> |
85 |
+ <upstream> |
86 |
+ <remote-id type="github">nojhan/liquidprompt</remote-id> |
87 |
+ </upstream> |
88 |
+</pkgmetadata> |