summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2018-06-08 12:30:49 +0200
committerMartin Väth <martin@mvath.de>2018-06-08 12:30:49 +0200
commit7c62fc3dd6f95c909bbec0739abbb3a370c13308 (patch)
tree692012d235aad66e804ca07ae3a21808397e30ca /app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
parentapp-shells/set_prompt: Version bump (diff)
downloadmv-7c62fc3dd6f95c909bbec0739abbb3a370c13308.tar.gz
mv-7c62fc3dd6f95c909bbec0739abbb3a370c13308.tar.bz2
mv-7c62fc3dd6f95c909bbec0739abbb3a370c13308.zip
EAPI=7 version bumps
Diffstat (limited to 'app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild')
-rw-r--r--app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
index 0ac77d3a..7d74b7ba 100644
--- a/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
+++ b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
@@ -1,7 +1,7 @@
# Copyright 2011-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
EGIT_REPO_URI="https://github.com/robbyrussell/${PN}.git"
inherit git-r3 readme.gentoo-r1
@@ -22,12 +22,6 @@ 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*
@@ -42,8 +36,15 @@ src_prepare() {
}
src_install() {
+ local DISABLE_AUTOFORMATTING DOC_CONTENTS
insinto "${ZSH_DEST}"
doins -r *
+ 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."
+
readme.gentoo_create_doc
}