mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-12-23 12:52:49 -08:00
version update oh-my-zsh
This commit is contained in:
parent
3d0bc9fd07
commit
9f15b5a413
@ -1,3 +1,4 @@
|
||||
EBUILD oh-my-zsh-20171017.ebuild 1724 SHA256 b768a4255f2dcdebc155d3efa0f67b962e6696e90c4059951e0056c071ed1e2c SHA512 d533e19853ac48494ba5938d22aab4b05e6fac8a59ea943971b9f04cecdb140b81cc90dab0c6860af13b7c251fc1e3da78660393da539cf591a5cdb3319f3c16 WHIRLPOOL d161b76a50500362a6aef24b99b7920de5909b9b194da5f1a1d19b468787d22bb399dbe7cc94061bada60ac70dfefea0938457a78fd8ab743a718f68b44e8e7e
|
||||
EBUILD oh-my-zsh-20171217.ebuild 1724 SHA256 b1176f5bc18187de1b05d5304245f3be952be76b5cafdbe65eb3112c61fae5c8 SHA512 fff94a7c8ef7f97b20dafa0ef75b2bea2e12ff1b7c9c895626499e46d4ff9ebe2bb8437c04489b4f2f4c28a922586f7e1addb51cc288ec1b7b6048147d383cd8 WHIRLPOOL a4682555544bc7a0e52a4023f0bd85e80b171b19da0638866c35c0b2434978126754ed01cbf2cc183e501c0f060ba6a152c3969a6291bed74af048932dad2e00
|
||||
EBUILD oh-my-zsh-20180219.ebuild 1724 SHA256 fe4f9425224ea82843a6bc75046f2eb5ffd6aa1fe60ad0e60050e355b4dea34f SHA512 a7a51e269b92e3233285a613fc13738750f3d1e2bffe9f308808bb53d38683c8155aba33ee116c82ace4fcdf637ad48a2e47270436e3b08d410219fa1ab9af27 WHIRLPOOL 167a008108671de23dad89071312772f6c738a93c508c5d269a365c4a26f923f1a919371f7deed381f886e928bc0c9c2f0c17bfbf156c7b0b84b60eb75bd542e
|
||||
MISC README.md 206 SHA256 74e61d91dc82713a13d318f251fece1d46979669a12fcb4026edcca8e56f34b5 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8 WHIRLPOOL 09c0af040f4d1d99769d4f2890a4d271ffacc4d09ca0ff2eb6f6725ba770b32886f7b9d0cbc94d9c5f24cbd84635f9b5fd4aca971aea3268fb8bf51212a47558
|
||||
|
60
app-shells/oh-my-zsh/oh-my-zsh-20180219.ebuild
Normal file
60
app-shells/oh-my-zsh/oh-my-zsh-20180219.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/${PN}.git"
|
||||
EGIT_COMMIT="37c2d0ddd751e15d0c87a51e2d9f9849093571dc"
|
||||
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="ZSH"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
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 *
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user