app-shells/liquidprompt: add 2.0.4

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-02-13 21:45:21 +02:00
parent 41f959174f
commit 6e2b1c2ec2
2 changed files with 41 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}