mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2025-07-13 03:23:14 -07:00
add app-vim, app-nvim, app-shells
This commit is contained in:
3
app-shells/oh-my-zsh/Manifest
Normal file
3
app-shells/oh-my-zsh/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
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
|
||||
MISC README.md 118 SHA256 5a9aa2bd668de37fa8332199348b9d25b69af902b9e9ea28402667dff3e436a7 SHA512 75f47f14bf3e4240207f0a9b0c24d87d5ed63d707284fc51b92cc734d948418da102c19365e0bea8e2c8e35c76cc653efa409c5fc323195b0995a84ec7b88072 WHIRLPOOL 95a3f01fe609977762b9f53c2c28a9defec90d020afb78fdd7abae6f094ffa1649804d5ae8c6f50b3a7180a338bddabedba02f1c5eb85b07272e06ec3fee5b0c
|
3
app-shells/oh-my-zsh/README.md
Normal file
3
app-shells/oh-my-zsh/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
```
|
||||
wget https://raw.githubusercontent.com/vaeth/mv-overlay/master/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
|
||||
```
|
60
app-shells/oh-my-zsh/oh-my-zsh-20171017.ebuild
Normal file
60
app-shells/oh-my-zsh/oh-my-zsh-20171017.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="accdcb2f1c3cca40527fef1fe4ab2d39eb6cf897"
|
||||
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}"
|
||||
}
|
60
app-shells/oh-my-zsh/oh-my-zsh-20171217.ebuild
Normal file
60
app-shells/oh-my-zsh/oh-my-zsh-20171217.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="c3b072eace1ce19a48e36c2ead5932ae2d2e06d9"
|
||||
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}"
|
||||
}
|
Reference in New Issue
Block a user