mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-12-24 05:02:49 -08:00
add oh-my-zsh-20190210
This commit is contained in:
parent
b6d24e7cbc
commit
9a6f676a83
@ -1,5 +1,4 @@
|
||||
EBUILD oh-my-zsh-20190121.ebuild 2067 BLAKE2B f4fbf15ea8b860120d9d0ffa3d1e2938837fe95a129dff5e907e3d3c66fa4a3f30211411d18a8cea59f98ad741c481b054f6151276e04d58e9e213727d3b1c98 SHA512 17352ad6c296faf44e1ee484d9e4ca1c223f18d3cdee0b231c1e402754b3ae2366203c120903313edc59def620073f41d56a1aba9de116a358a499a713f5a931
|
||||
EBUILD oh-my-zsh-20190125.ebuild 2067 BLAKE2B 74093e6418ae09229c53d0c81721ea7e75497d600f8dd95e04ce282717fa6f9070e3630106811d1d08b9b7b348fbbca0726e88627dc8251d6ee55114b33e7617 SHA512 3a0b8092a562ac3d925da0923e4e369fef6d82ea85523cff16f0fb67099934968857f96cf33cef5bf119da1d44b38b0c19dccf2f4c8b9a0365e3316e9226d22a
|
||||
EBUILD oh-my-zsh-20190201.ebuild 2067 BLAKE2B 495b5944222275b963ba3239cacaac37317b909caa3d3c1be55aa3b90cf27323de645593622e912392ca5f3aaab71b325d4927922419f40d5440c14a7a856f5b SHA512 7701785ec5010149852e3b50f41440f04476a16acd562a24fd141b44557f7ee3d7c225000f5a06f39c213d3929c8b6fcf6b3155392fffee77875defcdf44061e
|
||||
EBUILD oh-my-zsh-20190210.ebuild 2067 BLAKE2B 7a14aa28cda128a861f2c7d68e3a32beee9225488126b808a7a88d60e69ff16aeab69cfbbf3dd44937270efdf30c26078920098a2ac6e47033028b02fbcf104c SHA512 057380c6cbe354e9b074391a4389c85eb18fca1fd839d801290b81055132caaa18fb2f371cbf7c571ce73c40c304afee1bb97428c317eb9a2f86330e1447863b
|
||||
MISC README.md 206 BLAKE2B b60e00695526573cb1231a568ebdcc79654043923e2f01f258d28f2b24db41cf3d48ea0354daaf0c28c154dcf64ba8ee28ce583dbae9beef01f702a7ee006a36 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
@ -1,67 +0,0 @@
|
||||
# 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="ea6ec09b9c7752ee0e074659ca0689d0af053e5a"
|
||||
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}"
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/oh-my-zsh.git"
|
||||
EGIT_COMMIT="c4948696328eab3b954932eb940ec8ec97b12906"
|
||||
EGIT_COMMIT="86ea319536a8012b9e8f508d3d257029014bdafe"
|
||||
inherit git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
Loading…
Reference in New Issue
Block a user