Skip to content

Commit

Permalink
sys-apps/pnpm: add 9.15.4, drop 8.15.4
Browse files Browse the repository at this point in the history
Signed-off-by: 123485k <[email protected]>
  • Loading branch information
123485k authored and peeweep committed Jan 29, 2025
1 parent e6c9431 commit 31e3c74
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 39 deletions.
2 changes: 1 addition & 1 deletion sys-apps/pnpm/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST pnpm-8.15.4.tar.xz 2647908 BLAKE2B 062f0bcb3b206dce75b41bb15f05e280e4bf31434b76d5b905c3e9eac2b6f8ef7c7364fddd1d05131311cc9953ce5c039703a42e79f6cc250e6d300c75fa1273 SHA512 982f89ba8c35ffb24655ec89ce3c8e57d005bda11266c48afbe6d6efe25d75ee1653af3974bed9a4c2a4ae0d000ddcfafd3b8274309a182d963e9c8c07d562df
DIST pnpm-9.15.4.tgz 3835981 BLAKE2B 3683bb8a2ee09e857432d50e7afdabb04b76aae9479bf02e8a02f66c4a5ead5592e5ccddefc54f5fdd8fe145c2b735f15123ed6619aa73cff56a62fa9d194792 SHA512 b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0
38 changes: 0 additions & 38 deletions sys-apps/pnpm/pnpm-8.15.4.ebuild

This file was deleted.

31 changes: 31 additions & 0 deletions sys-apps/pnpm/pnpm-9.15.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Fast, disk space efficient package manager"
HOMEPAGE="https://pnpm.io"
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
S="${WORKDIR}/package"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="net-libs/nodejs"
RDEPEND="${DEPEND}"

src_compile() {
:
}

src_install(){
local install_dir="/usr/$(get_libdir)/node_modules/${PN}" path shebang
insinto "${install_dir}"
doins -r .
dosym "../$(get_libdir)/node_modules/${PN}/bin/pnpm.cjs" "/usr/bin/pnpm"
dosym "../$(get_libdir)/node_modules/${PN}/bin/pnpx.cjs" "/usr/bin/pnpx"
fperms +x "/usr/bin/pnpm" "/usr/bin/pnpx"
fperms +x "${install_dir}/bin/pnpm.cjs" "${install_dir}/bin/pnpx.cjs"
fperms +x "${install_dir}/dist/node-gyp-bin/node-gyp"
}

0 comments on commit 31e3c74

Please sign in to comment.