summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-02-13 21:45:21 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-02-13 21:45:36 +0200
commit6e2b1c2ec2c8a1734182a8e9ef70ea9960324196 (patch)
tree0fbcabc89c224f11d76bcccd2777cbe6c2bcf5d9 /app-shells/liquidprompt
parentdev-libs/libgit2: Revert "Bump to 1.4.0" (diff)
downloadgentoo-6e2b1c2ec2c8a1734182a8e9ef70ea9960324196.tar.gz
gentoo-6e2b1c2ec2c8a1734182a8e9ef70ea9960324196.tar.bz2
gentoo-6e2b1c2ec2c8a1734182a8e9ef70ea9960324196.zip
app-shells/liquidprompt: add 2.0.4
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.4.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest
index 681bc629e626..5fb5592fab43 100644
--- a/app-shells/liquidprompt/Manifest
+++ b/app-shells/liquidprompt/Manifest
@@ -1 +1,2 @@
DIST liquidprompt-2.0.3.tar.gz 539054 BLAKE2B c94375e0def1764103afe04bb47ff25ced2aeb940b45392bea8a2889ce88d1ea0e03efc0652ec8bc873b9910bee7208e48aaef9a846760177049cc550a5cd8b0 SHA512 a77f1548dd233de9877b2b5dd4a64f05ef03890917486792eb1c362708ab0b635c517cc2a3ddc82731940017f209f626d177a4ac0b5554566faa720a7d88b550
+DIST liquidprompt-2.0.4.tar.gz 536123 BLAKE2B 181fe4c59d1a68e03893b1a2144d6b800d8d950a48d38b12fa04aafb01384a08d5b95741a9fac524b353cf7f1b5e09f838d45222009dfb94dcc890ec2a6ab985 SHA512 611931c5572abf1471a2cac1a88d91fadb935e97a3c32bb0ff8a5cc007ac96dd7a88575feecdf033a77226b769504fde93d4afd93fa60277eafdb5f96fb18bcb
diff --git a/app-shells/liquidprompt/liquidprompt-2.0.4.ebuild b/app-shells/liquidprompt/liquidprompt-2.0.4.ebuild
new file mode 100644
index 000000000000..aed3cbeb58e8
--- /dev/null
+++ b/app-shells/liquidprompt/liquidprompt-2.0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 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
+}