app-shells/k: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-02-23 03:57:55 +01:00
parent 9676f7f3c9
commit 2c09c9b95d
3 changed files with 43 additions and 0 deletions

1
app-shells/k/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST k-0.0.5.tar.gz 7385 BLAKE2B 8cba27fef6538df7a65fd7fbe8234c0f284bf9db00c9ae554e5ea3982268bae7fab67626865fe0b5267dd199fea7d72f5c8548a7319eb7cc9d5aee6df4af7694 SHA512 a973abef9eb1f8fbe91528f20861eb880a2e804f08b88c0981e338a8399118f769cb7850de3d9ab8a1ec4e8a593dcb297af256696dd964dc28186f5c90cffbed

View File

@@ -0,0 +1,29 @@
# 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
"
src_install() {
dodoc "readme.md"
dodir "/usr/share/zsh/plugins"
insinto "/usr/share/zsh/plugins/${PN}"
doins "${PN}.sh"
}
pkg_postinst() {
einfo "To use this script, load it into your interactive ZSH session:"
einfo "\tsource /usr/share/zsh/plugins/${PN}/${PN}.zsh"
}

13
app-shells/k/metadata.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">supercrabtree/k</remote-id>
</upstream>
<longdescription lang="en">k is a zsh script / plugin to make directory listings more readable, adding a bit of color and some git status information on files and directories.
</longdescription>
</pkgmetadata>