sys-apps/pnpm - 11.4.0 (bentoo)

Search

Install

Install this version:

emerge -a =sys-apps/pnpm-11.4.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/pnpm-11.4.0

Or alternatively:

emerge --autounmask-write -a =sys-apps/pnpm-11.4.0

Package Information

Description:
Fast, disk space efficient package manager
Homepage:
https://pnpm.io
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
11.4.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 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 ~arm64"

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"
	fperms +x "${install_dir}/dist/node_modules/node-gyp/bin/node-gyp.js"
}

Dependencies

DEPEND

net-libs/nodejs

RDEPEND

net-libs/nodejs

Manifest for 11.4.0

Type File Size Source URLs
DIST pnpm-11.4.0.tgz 4260842 bytes https://registry.npmjs.org/pnpm/-/pnpm-11.4.0.tgz