Skip to content

Commit

Permalink
app-shells/liquidprompt: initial import
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Aug 27, 2021
1 parent 23eeeba commit 03c80b9
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-shells/liquidprompt/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST liquidprompt-2.0.3.tar.gz 539054 BLAKE2B c94375e0def1764103afe04bb47ff25ced2aeb940b45392bea8a2889ce88d1ea0e03efc0652ec8bc873b9910bee7208e48aaef9a846760177049cc550a5cd8b0 SHA512 a77f1548dd233de9877b2b5dd4a64f05ef03890917486792eb1c362708ab0b635c517cc2a3ddc82731940017f209f626d177a4ac0b5554566faa720a7d88b550
40 changes: 40 additions & 0 deletions app-shells/liquidprompt/liquidprompt-2.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions app-shells/liquidprompt/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Arthur Zamarin</name>
</maintainer>
<upstream>
<remote-id type="github">nojhan/liquidprompt</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 03c80b9

Please sign in to comment.