summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-27 09:45:34 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-27 09:46:46 +0300
commit03c80b9abdc9801043a6dbd2677bf39226e3e568 (patch)
tree5e1d0b8bd25857e43bc7cd3931e1db56cc3bb3d4 /app-shells/liquidprompt
parentdev-util/shunit2: drop 2.1.6-r1 (diff)
downloadgentoo-03c80b9abdc9801043a6dbd2677bf39226e3e568.tar.gz
gentoo-03c80b9abdc9801043a6dbd2677bf39226e3e568.tar.bz2
gentoo-03c80b9abdc9801043a6dbd2677bf39226e3e568.zip
app-shells/liquidprompt: initial import
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-shells/liquidprompt')
-rw-r--r--app-shells/liquidprompt/Manifest1
-rw-r--r--app-shells/liquidprompt/liquidprompt-2.0.3.ebuild40
-rw-r--r--app-shells/liquidprompt/metadata.xml11
3 files changed, 52 insertions, 0 deletions
diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest
new file mode 100644
index 000000000000..681bc629e626
--- /dev/null
+++ b/app-shells/liquidprompt/Manifest
@@ -0,0 +1 @@
+DIST liquidprompt-2.0.3.tar.gz 539054 BLAKE2B c94375e0def1764103afe04bb47ff25ced2aeb940b45392bea8a2889ce88d1ea0e03efc0652ec8bc873b9910bee7208e48aaef9a846760177049cc550a5cd8b0 SHA512 a77f1548dd233de9877b2b5dd4a64f05ef03890917486792eb1c362708ab0b635c517cc2a3ddc82731940017f209f626d177a4ac0b5554566faa720a7d88b550
diff --git a/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild b/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild
new file mode 100644
index 000000000000..037add1c934c
--- /dev/null
+++ b/app-shells/liquidprompt/liquidprompt-2.0.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Full-featured & carefully designed adaptive prompt for Bash & Zsh"
+HOMEPAGE="https://github.com/nojhan/liquidprompt"
+SRC_URI="
+ https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+S="${WORKDIR}/${PN}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-util/shunit2 )"
+
+DOCS=( CHANGELOG.md example.bashrc README.md )
+
+src_test() {
+ cp "$(type -P shunit2)" tests/shunit2 || die
+ ./tests.sh || die
+}
+
+src_install() {
+ default
+ dobin liquidprompt
+
+ insinto /usr/share/${PN}
+ doins liquid.theme
+ doins liquid.ps1
+ doins -r themes
+
+ insinto /etc/
+ newins liquidpromptrc-dist liquidpromptrc
+}
diff --git a/app-shells/liquidprompt/metadata.xml b/app-shells/liquidprompt/metadata.xml
new file mode 100644
index 000000000000..6d5867c2f369
--- /dev/null
+++ b/app-shells/liquidprompt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arthurzam@gentoo.org</email>
+ <name>Arthur Zamarin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nojhan/liquidprompt</remote-id>
+ </upstream>
+</pkgmetadata>