diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-24 00:07:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-24 00:07:11 +0100 |
commit | aa4954f71a3ba2293395a8cce2321a70c39c7554 (patch) | |
tree | 35665855d8a569dca2bdf52a7316e2503df68208 /app-shells/liquidprompt | |
parent | b3b92de25c3fc5f6bddc5e513027140591a0b2a5 (diff) |
gentoo auto-resync : 24:05:2024 - 00:07:11
Diffstat (limited to 'app-shells/liquidprompt')
-rw-r--r-- | app-shells/liquidprompt/Manifest | 3 | ||||
-rw-r--r-- | app-shells/liquidprompt/liquidprompt-2.2.0.ebuild | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest index 4ce45ecbd496..d8a03bf30894 100644 --- a/app-shells/liquidprompt/Manifest +++ b/app-shells/liquidprompt/Manifest @@ -1,3 +1,6 @@ +DIST bash-preexec.sh 12667 BLAKE2B 1a19e3d7c2b74ae7572375b7af11c20a3506464c1ae31b90439529422ae74fcdb26f71bfa3d9128180852b511335cd79a9ab3d951aa9d4d1749c122cd3444013 SHA512 c77093d7049ad97406519e3f7bd98dbfa6ca3670c635995484aa5635a47e0243c885868dc48bb89d9f15d2c8082657eefb895e1fb764c3b9e0498cfee7797120 DIST liquidprompt-2.1.2.tar.gz 621356 BLAKE2B b5c3c52179f86fc42164e08a01f4e114f5e7ce1cdb5fb19ef1c02e85569e895cb5f1cc2f61bf6f66380d5c20bc6daf41547eb281990221528d5c1d85b61d1329 SHA512 685da50d347ba0d7c6881d87426344840cc7ab960067035b43f9658c51d7d5cf89e80f4bf8344b49f3858fe91bcfd57dcfaf9a253246fc1a7ebedbba474dc5ff +DIST liquidprompt-2.2.0.tar.gz 986151 BLAKE2B aad40582ddb3e4f611e4632ebff0a6625d169a18d35013d204b1912196c770f04361a617c54e3c798b9828fba3919c0af328f81e1994ba3c987321b551ed9634 SHA512 1ccefcdb7b58697ac9b27e3e94ef1527c17ac36e9e405930f5b8b2a906cad5789ed9f77271dbcc66b3ef3457b307df370cfc60f88dc13e9d82ba3de7e2708421 EBUILD liquidprompt-2.1.2.ebuild 818 BLAKE2B 60c6a123ff127bec28223470cf27282530a1f756cbec3e5ee7da506d5d6a564f23018004df03c4b8b119ef1ccc616bdc364d8a3847452274a7dfb373002dde9d SHA512 bbdb46176949b2a172ec35c9658e441091b7ed1a36d30e35066df1ee101415ba0089306fa2fee6d9efe00ce4b4a1b40e38bb9f29449cf22f072185701ffe45e0 +EBUILD liquidprompt-2.2.0.ebuild 1038 BLAKE2B ea0422b9720a16a3cae2ca4e6cac684a7de09c43d82951fbebb21ffb9b0ab6846ece922f08ef60bbe75a6e37ca85bdf98a79e389484ba2cb13a53cb884411759 SHA512 e835aab3f1bfda968357423213653473cdd89cdc0acfe1f851af551a8381bfeec28b796fb07557ae3bbc214e6b80a86d8f6feee434681f91c092cd0dbf44f684 MISC metadata.xml 335 BLAKE2B 35124b3abcc1162303d8e666abc6d5e024191604555500cdf5f21ba3b45d3c815cef3e14ce4e8052b0d698f9ce4ac83fc22585382559989922816ea7128b59c6 SHA512 12fa46e8150943e9c7175079b67912a0f9cede1bc6892781eeb97c635f99243e32a24ca60a2caa3f2a19587f4c5a134b84f90f95b018c93e6a523001e0e8e806 diff --git a/app-shells/liquidprompt/liquidprompt-2.2.0.ebuild b/app-shells/liquidprompt/liquidprompt-2.2.0.ebuild new file mode 100644 index 000000000000..8aae627d6efa --- /dev/null +++ b/app-shells/liquidprompt/liquidprompt-2.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 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 https://liquidprompt.readthedocs.io/" +SRC_URI=" + https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz + -> ${P}.tar.gz + test? ( + https://raw.githubusercontent.com/rcaloras/bash-preexec/0.4.1/bash-preexec.sh + ) +" +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 "${DISTDIR}/bash-preexec.sh" tests/ || die + cp "$(type -P shunit2)" tests/shunit2 || die + ./tests.sh bash || die +} + +src_install() { + default + dobin liquidprompt + + insinto /usr/share/${PN} + doins -r themes templates tools + + insinto /etc/ + ./tools/config-from-doc.sh > "${T}/liquidpromptrc" || die + newins "${T}/liquidpromptrc" liquidpromptrc +} |