logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: ebfa6dc0cdafa887d16b5b8b8b6efcc7d8f28409
parent c7addd9be61e9988eba47aa9e7d5302a90e0ea6b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 16 Sep 2023 08:39:15 +0200

dev-nodejs/semver: Remove useless src_install

Diffstat:

Mdev-nodejs/semver/semver-7.5.4.ebuild17-----------------
1 file changed, 0 insertions(+), 17 deletions(-)

diff --git a/dev-nodejs/semver/semver-7.5.4.ebuild b/dev-nodejs/semver/semver-7.5.4.ebuild @@ -19,20 +19,3 @@ IUSE="test" RDEPEND="dev-nodejs/lru-cache" RESTRICT="test" - -src_install() { - insinto "${NODEJS_SITELIB}${PN}" - doins package.json - - cat package.json | jq -r .files[] | while read pkg - do - if test -e "$pkg"; then - doins -r "$pkg" - else - echo "Warning: package.json references '$pkg' but it wasn't found" - fi - done - - fperms 755 "${NODEJS_SITELIB}${PN}/bin/semver.js" - dosym "${NODEJS_SITELIB}${PN}/bin/semver.js" "${EPREFIX}/usr/bin/semver" -}