mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-11-22 02:11:29 -08:00
version bump oh-my-zsh
This commit is contained in:
parent
62d7ce1cd7
commit
4200c46b52
@ -1,5 +1,6 @@
|
|||||||
EBUILD oh-my-zsh-20180612.ebuild 2063 BLAKE2B 0203bd37a357a72242fcf6e4a0674fd5369ad6a33d8e7c199a3004e1f57de9ba406547e752e0544d25362ce8ea2bfbd260e1729d8f2e97f293970e8a480aee05 SHA512 529a9d0626abb50c28114b17771ff45f9cd07402ae39f484b30c59e4d73849ea63b6ac633bccc81cc5623e9a2a2e8f6c9476c53930772546548623cf94cc5efc
|
EBUILD oh-my-zsh-20180612.ebuild 2063 BLAKE2B 0203bd37a357a72242fcf6e4a0674fd5369ad6a33d8e7c199a3004e1f57de9ba406547e752e0544d25362ce8ea2bfbd260e1729d8f2e97f293970e8a480aee05 SHA512 529a9d0626abb50c28114b17771ff45f9cd07402ae39f484b30c59e4d73849ea63b6ac633bccc81cc5623e9a2a2e8f6c9476c53930772546548623cf94cc5efc
|
||||||
EBUILD oh-my-zsh-20180805.ebuild 2063 BLAKE2B 81e74c92155b4d72fd9ed3091a7a920cf18fcd26803069a6fb903a9d3bac894514666b8e0a906a4c5b4fe1e16a4613e6ed4617279959999366b3ed3192268f13 SHA512 151bf4e44cd21f64e88c3682195e5e253b46a494d7271361a0924309b6cb5c31b4f2f6e7cf75653aa322c02b6e20bde0096eb2218791e702ca5e082170803436
|
EBUILD oh-my-zsh-20180805.ebuild 2063 BLAKE2B 81e74c92155b4d72fd9ed3091a7a920cf18fcd26803069a6fb903a9d3bac894514666b8e0a906a4c5b4fe1e16a4613e6ed4617279959999366b3ed3192268f13 SHA512 151bf4e44cd21f64e88c3682195e5e253b46a494d7271361a0924309b6cb5c31b4f2f6e7cf75653aa322c02b6e20bde0096eb2218791e702ca5e082170803436
|
||||||
EBUILD oh-my-zsh-20181111-r1.ebuild 2067 BLAKE2B 057e0c076c379f7f16a9f52b500c0eae80345b4f458eb301a049e1a6ff648f1d1b58653604719e7f4c8d925a0a01a0b0c107ba7b1d62b5bc454495be80168935 SHA512 f5a48b92ca0a3d09c3cf21b7b4db0248b49f64f22767529a8cdf95c8d719f8eca144677ae86ee2c4ce31eae25a8c3030fca65d5017fd20b5348a93bb24513346
|
EBUILD oh-my-zsh-20181111-r1.ebuild 2067 BLAKE2B 057e0c076c379f7f16a9f52b500c0eae80345b4f458eb301a049e1a6ff648f1d1b58653604719e7f4c8d925a0a01a0b0c107ba7b1d62b5bc454495be80168935 SHA512 f5a48b92ca0a3d09c3cf21b7b4db0248b49f64f22767529a8cdf95c8d719f8eca144677ae86ee2c4ce31eae25a8c3030fca65d5017fd20b5348a93bb24513346
|
||||||
|
EBUILD oh-my-zsh-20181123.ebuild 2067 BLAKE2B cffe632639821b6b6976c84db90d836b13e8b51a47af799498b41f83d1fbab7d04eceb91ab1c4486389072305a0f52321eca2854038c2e34b7de09861455c40c SHA512 c10be4f35bb76b46aaf2eb54c669b41ce1a668fcca8faea571306a7ead87e39ae400f8f5e9041155f9042f7242c196111e2000e7c72c303d8a8f77be82099533
|
||||||
MISC README.md 206 BLAKE2B b60e00695526573cb1231a568ebdcc79654043923e2f01f258d28f2b24db41cf3d48ea0354daaf0c28c154dcf64ba8ee28ce583dbae9beef01f702a7ee006a36 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8
|
MISC README.md 206 BLAKE2B b60e00695526573cb1231a568ebdcc79654043923e2f01f258d28f2b24db41cf3d48ea0354daaf0c28c154dcf64ba8ee28ce583dbae9beef01f702a7ee006a36 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8
|
||||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||||
|
67
app-shells/oh-my-zsh/oh-my-zsh-20181123.ebuild
Normal file
67
app-shells/oh-my-zsh/oh-my-zsh-20181123.ebuild
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/robbyrussell/oh-my-zsh.git"
|
||||||
|
EGIT_COMMIT="e8aba1bf5912f89f408eaebd1bc74c25ba32a62c"
|
||||||
|
inherit git-r3 readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
||||||
|
HOMEPAGE="https://github.com/robbyrussell/oh-my-zsh"
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE=MIT
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="+doc"
|
||||||
|
PROPERTIES="live"
|
||||||
|
|
||||||
|
RDEPEND="app-shells/zsh"
|
||||||
|
|
||||||
|
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||||
|
ZSH_EDEST="${EPREFIX}${ZSH_DEST}"
|
||||||
|
ZSH_TEMPLATE="templates/zshrc.zsh-template"
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING="true"
|
||||||
|
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||||
|
source '${ZSH_DEST}/${ZSH_TEMPLATE}'
|
||||||
|
or copy a modification of that file to your ~/.zshrc
|
||||||
|
If you just want to try, enter the above command in your zsh."
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local i
|
||||||
|
for i in "${S}"/tools/*install* "${S}"/tools/*upgrade*
|
||||||
|
do test -f "${i}" && : >"${i}"
|
||||||
|
done
|
||||||
|
|
||||||
|
sed -i -e 's!^ZSH=.*$!ZSH='"${ZSH_EDEST}"'!' \
|
||||||
|
-e 's!\(^export ZSH=.*$\)!# \1\nexport ZSH='"${ZSH_DEST}"'!' \
|
||||||
|
-e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||||
|
"${S}/${ZSH_TEMPLATE}"
|
||||||
|
|
||||||
|
sed -i -e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||||
|
"${S}/plugins/dirpersist/dirpersist.plugin.zsh"
|
||||||
|
|
||||||
|
sed -i -e '/zstyle.*cache/d' "${S}/lib/completion.zsh"
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "${ZSH_DEST}"
|
||||||
|
doins -r *
|
||||||
|
use doc && readme.gentoo_create_doc
|
||||||
|
use doc && dodoc CONTRIBUTING.md LICENSE.txt README.md
|
||||||
|
cd "${D}"
|
||||||
|
use doc || find -name README.md -exec rm -rf {} +
|
||||||
|
use doc || find -name README -exec rm -rf {} +
|
||||||
|
use doc || find -name README.txt -exec rm -rf {} +
|
||||||
|
use doc || find -name CONTRIBUTING.md -exec rm -rf {} +
|
||||||
|
use doc || find -name .git* -exec rm -rf {} +
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use doc && readme.gentoo_print_elog
|
||||||
|
elog "${DOC_CONTENTS}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user