logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: d6fb8b1d513d6c049348307344928ec62753474a
parent 64eda54a7181bbf36c3b8779074d60b77c6da1f6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 30 Apr 2023 04:16:17 +0200

dev-nodejs/cli: new package, add 1.0.1

Diffstat:

Adev-nodejs/cli/Manifest1+
Adev-nodejs/cli/cli-1.0.1.ebuild31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/cli/Manifest b/dev-nodejs/cli/Manifest @@ -0,0 +1 @@ +DIST cli-1.0.1.tar.gz 14697 BLAKE2B e06ebd33c109875980b63e21fb1e6e9b86cf47623bb144bfbe72d80ebd7293ac4473e148e5e15d8b9ba5aa69f0bd7555734e36680cba47b93d679ca0bfd30edb SHA512 c6a5d5bf2f0a6db893f0c28bd469e25d7244d302f6d0e37e32a5bfde8fea501f97d21d96657a2ad6f86ce9574d2634c865e1796a57c1037082cc7025fd3e043a diff --git a/dev-nodejs/cli/cli-1.0.1.ebuild b/dev-nodejs/cli/cli-1.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="toolkit for rapidly building command line apps" +HOMEPAGE="https://github.com/node-js-libs/cli" +SRC_URI="https://github.com/node-js-libs/cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# no tests +RESTRICT="test" + +RDEPEND=" + dev-nodejs/glob + dev-nodejs/exit +" + +DOCS=( README.md examples ) + +src_install() { + einstalldocs + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + doins index.js + doins cli.js +}