blob: d8c02525b117173dccf6909f9bb80ca499a9b81d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 eutils
DESCRIPTION="Syntax highlighting (similar to the fish shell) for ZSH"
HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
SRC_URI=""
EGIT_REPO_URI="https://github.com/zsh-users/zsh-syntax-highlighting.git"
LICENSE=""
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
PROPERTIES="live"
DEPEND=">=app-shells/zsh-4.3.17"
RDEPEND="${DEPEND}"
src_prepare() {
if [ -f "${FILESDIR}/Makefile-${PV}.patch" ]; then
epatch "${FILESDIR}/Makefile-${PV}.patch"
fi
default
}
src_install() {
insinto "/usr/share/zsh/site-contrib/${PN}"
doins "${S}/${PN}.plugin.zsh"
emake install DESTDIR="${D}" PREFIX="/usr/share/zsh/site-contrib/"
}
|