blob: 7202c921b612261eff34d39c166b8d0e322b9a1c (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="Directory listings for zsh with git features"
HOMEPAGE="https://github.com/supercrabtree/k"
SRC_URI="https://github.com/supercrabtree/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
>=app-shells/zsh-4.3.11
>=dev-vcs/git-1.7.2
"
DOCS=( readme.md )
src_install() {
dodir "/usr/share/zsh/plugins"
insinto "/usr/share/zsh/plugins/${PN}"
doins "${PN}.sh"
einstalldocs
}
pkg_postinst() {
einfo "To use this script, load it into your interactive ZSH session:"
einfo "\tsource /usr/share/zsh/plugins/${PN}/${PN}.zsh"
}
|