logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 02933ae70883860e22fd41ed28b0122891fdc465
parent 3add640909955dea06cc7ea0016003ddf51e0e70
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  7 Dec 2022 06:55:28 +0100

dev-nodejs/vec2d: new package, add 0.3.0

Diffstat:

Adev-nodejs/vec2d/Manifest1+
Adev-nodejs/vec2d/vec2d-0.3.0.ebuild24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/vec2d/Manifest b/dev-nodejs/vec2d/Manifest @@ -0,0 +1 @@ +DIST vec2d-0.3.0.tar.gz 4231 BLAKE2B bb4aef902c3a86f82c9d01bb045604d7cb0cd450827d7415ed47aa3625dac8a25d16306dd4f63d90958c444b208345ce8f16b350735bcf8c6531aa784827b66c SHA512 3cfa0c5c6b25f575ae0b7266743f9634470a351ff9919951cee2487105dfbcb40f2283362ad9ab81a95ce58b42c49daaf6e59efc863825e863aafe25ad84baf8 diff --git a/dev-nodejs/vec2d/vec2d-0.3.0.ebuild b/dev-nodejs/vec2d/vec2d-0.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="2d vector math with good unit tests" +HOMEPAGE="https://github.com/andrewrk/node-vec2d" +SRC_URI="https://github.com/andrewrk/node-vec2d/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/node-vec2d-${PV}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" +# BDEPEND="test? ( dev-nodejs/mocha )" + +src_install() { + insinto "${NODEJS_SITELIB}${PN}" + doins package.json + doins index.js + dodoc README.md +}