forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-shells/liquidprompt: initial import
Signed-off-by: Arthur Zamarin <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |