commit: eb549453a5fcd486d6990107125874c67e8c44de
parent 02933ae70883860e22fd41ed28b0122891fdc465
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 7 Dec 2022 06:55:38 +0100
dev-nodejs/chem: new package, add 4.1.1
Diffstat:
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/chem/Manifest b/dev-nodejs/chem/Manifest
@@ -0,0 +1 @@
+DIST chem-4.1.1.tar.gz 19713 BLAKE2B 548a23d8554641c2f69d330fbe67655393e7fcbcef52a888a75a98b07d17699a34972383327cbfbc65f35a6c5661ffd5d2dbb045cd61879319c326a9bc587bdb SHA512 45e460283f67674dc42b2ae453fd0e27f16802bfd1d4874c8da1bc1107fd46c5c8c7ecf9274d643a882882b3c6304661dc3040ed382cffbfb3c0069187e7cc33
diff --git a/dev-nodejs/chem/chem-4.1.1.ebuild b/dev-nodejs/chem/chem-4.1.1.ebuild
@@ -0,0 +1,33 @@
+# 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 canvas-based rapid prototyping game engine"
+HOMEPAGE="https://github.com/andrewrk/chem"
+SRC_URI="https://github.com/andrewrk/chem/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# No testsuite
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-nodejs/vec2d-0.3.0
+ >=dev-nodejs/pend-1.1.3
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( doc README.md )
+
+src_install() {
+ einstalldocs
+
+ insinto "${NODEJS_SITELIB}${PN}"
+ doins package.json
+ doins index.js
+ doins -r lib
+}