app-shells/nice-exit-code: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-05-01 20:07:02 +02:00
parent cf4e368ab6
commit bdfbcde06d
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nice-exit-code-0_pre20200117.tar.gz 2688 BLAKE2B a67784927f98c0de72e73512eaf032880957e0ec0eaad940c594951bc9e5d898c62350007398e708d0cfc855e3db3046bb481adf867b83dd1a1abf501e3d6888 SHA512 c74a30f28af9ad58b77f470a183006a8fcc4d1f15ba19ce3c2e6ca2e0fd947d25873b36beb86b66bbea97ea1c66b6f088269ca4ab20233b1adea35eb527e5e78

View File

@@ -0,0 +1,12 @@
<?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>
<bugs-to>https://github.com/bric3/nice-exit-code/issues</bugs-to>
<remote-id type="github">bric3/nice-exit-code</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
COMMIT="de7ac733d28705b5e9989b9c8231ac88eb33d841"
DESCRIPTION="ZSH plugin that maps exit status code to human readable string"
HOMEPAGE="https://github.com/bric3/nice-exit-code"
SRC_URI="https://github.com/bric3/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
app-shells/zsh
"
DOCS=( README.md )
S="${WORKDIR}/${PN}-${COMMIT}"
src_install() {
einstalldocs
rm -rf "LICENSE" "${DOCS[@]}" || die
dodir "/usr/share/zsh/plugins"
insinto "/usr/share/zsh/plugins/${PN}"
doins -r .
}
pkg_postinst() {
einfo "To use this module please read the README"
}