logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 3add640909955dea06cc7ea0016003ddf51e0e70
parent e6e7a5f76a43e676bd539c9d78d5282e98d1c1a2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  6 Dec 2022 11:55:45 +0100

dev-nodejs/browserify-lite: new package, add 0.5.1

Diffstat:

Adev-nodejs/browserify-lite/Manifest1+
Adev-nodejs/browserify-lite/browserify-lite-0.5.1.ebuild27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/browserify-lite/Manifest b/dev-nodejs/browserify-lite/Manifest @@ -0,0 +1 @@ +DIST browserify-lite-0.5.1.tar.gz 4895 BLAKE2B 573729454e8edd43da2be45806c4f0b6e564878e0abd1dd14f59dc706f595c05b61cb98dfa8c4dd564c1fa9dd9b17d6a4ab64cc551068a5ee799ebc651e9571e SHA512 16030ef5f83d72de5031200f2f97615c6cb15edec54136ed84e475d29521a9f59e0e1e2ea68e85560f62c6deec43e1b798b5625ae62abd15a48530197325b057 diff --git a/dev-nodejs/browserify-lite/browserify-lite-0.5.1.ebuild b/dev-nodejs/browserify-lite/browserify-lite-0.5.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="browserify, minus some of the advanced features and heavy dependencies" +HOMEPAGE="https://github.com/andrewrk/browserify-lite" +SRC_URI="https://github.com/andrewrk/browserify-lite/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-nodejs/pend-1.2.0" +DEPEND="${RDEPEND}" + +src_install() { + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + doins index.js + doins cli.js + dodoc README.md + + fperms 755 "${NODEJS_SITELIB}${PN}/cli.js" + dosym "${NODEJS_SITELIB}${PN}/cli.js" "${EPREFIX}/usr/bin/${PN}" +}