1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit readme.gentoo-r1
8 if [[ -z ${PV%%*9999} ]]; then
9 EGIT_REPO_URI="https://github.com/zsh-users/${PN}.git"
13 SRC_URI="https://github.com/zsh-users/zsh-syntax-highlighting/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
15 S="${WORKDIR}/${PN}-${MY_PV}"
18 DESCRIPTION="Fish shell like syntax highlighting for zsh"
19 HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
24 RDEPEND="app-shells/zsh"
26 DISABLE_AUTOFORMATTING="true"
27 DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
28 . /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
29 at the end of your ~/.zshrc"
32 sed -i -e 's/COPYING.md//' Makefile || die
38 SHARE_DIR="${ED}/usr/share/zsh/site-functions" \
39 DOC_DIR="${ED}/usr/share/doc/${PF}" \
41 readme.gentoo_create_doc