diff options
author | Martin Väth <martin@mvath.de> | 2015-10-11 11:26:48 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 11:32:18 +0200 |
commit | 109d6b4f673a249aea4deeb0cdb5b54a21592410 (patch) | |
tree | ec3589a50dac5be54ef6248d1e0ff3a9fd3b41b4 /app-shells/oh-my-zsh | |
download | mv-109d6b4f673a249aea4deeb0cdb5b54a21592410.tar.gz mv-109d6b4f673a249aea4deeb0cdb5b54a21592410.tar.bz2 mv-109d6b4f673a249aea4deeb0cdb5b54a21592410.zip |
Clear history for egencache --repo=mv --update-changelogs
Diffstat (limited to 'app-shells/oh-my-zsh')
-rw-r--r-- | app-shells/oh-my-zsh/metadata.xml | 16 | ||||
-rw-r--r-- | app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild | 49 |
2 files changed, 65 insertions, 0 deletions
diff --git a/app-shells/oh-my-zsh/metadata.xml b/app-shells/oh-my-zsh/metadata.xml new file mode 100644 index 00000000..ef32a6e3 --- /dev/null +++ b/app-shells/oh-my-zsh/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>martin@mvath.de</email> + <name>Martin Väth</name> + </maintainer> + <upstream> + <maintainer> + <email></email> + <name>Robby Russell</name> + </maintainer> + <bugs-to>https://github.com/robbyrussell/oh-my-zsh/issues</bugs-to> + <remote-id type="github">robbyrussell/oh-my-zsh</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild new file mode 100644 index 00000000..16b8d791 --- /dev/null +++ b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGIT_REPO_URI="git://github.com/robbyrussell/${PN}.git" +inherit eutils git-r3 readme.gentoo + +DESCRIPTION="A ready-to-use zsh configuration with plugins" +HOMEPAGE="https://github.com/robbyrussell/oh-my-zsh" +SRC_URI="" + +LICENSE="ZSH" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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!~/.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" + epatch_user +} + +src_install() { + insinto "${ZSH_DEST}" + doins -r * + readme.gentoo_create_doc +} |