From bdfbcde06d84c471e4cf8bcb668e61932aeefb56 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Fri, 1 May 2020 20:07:02 +0200 Subject: [PATCH] app-shells/nice-exit-code: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- app-shells/nice-exit-code/Manifest | 1 + app-shells/nice-exit-code/metadata.xml | 12 +++++++ .../nice-exit-code-0_pre20200117.ebuild | 34 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 app-shells/nice-exit-code/Manifest create mode 100644 app-shells/nice-exit-code/metadata.xml create mode 100644 app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild diff --git a/app-shells/nice-exit-code/Manifest b/app-shells/nice-exit-code/Manifest new file mode 100644 index 0000000000..33594fba97 --- /dev/null +++ b/app-shells/nice-exit-code/Manifest @@ -0,0 +1 @@ +DIST nice-exit-code-0_pre20200117.tar.gz 2688 BLAKE2B a67784927f98c0de72e73512eaf032880957e0ec0eaad940c594951bc9e5d898c62350007398e708d0cfc855e3db3046bb481adf867b83dd1a1abf501e3d6888 SHA512 c74a30f28af9ad58b77f470a183006a8fcc4d1f15ba19ce3c2e6ca2e0fd947d25873b36beb86b66bbea97ea1c66b6f088269ca4ab20233b1adea35eb527e5e78 diff --git a/app-shells/nice-exit-code/metadata.xml b/app-shells/nice-exit-code/metadata.xml new file mode 100644 index 0000000000..53ab5fdfaa --- /dev/null +++ b/app-shells/nice-exit-code/metadata.xml @@ -0,0 +1,12 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/bric3/nice-exit-code/issues + bric3/nice-exit-code + + diff --git a/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild b/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild new file mode 100644 index 0000000000..72da8fb927 --- /dev/null +++ b/app-shells/nice-exit-code/nice-exit-code-0_pre20200117.ebuild @@ -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" +}