Files
guru/sys-apps/pnpm-bin/pnpm-bin-10.33.2.ebuild
2026-05-03 04:53:49 +06:00

28 lines
640 B
Bash

# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Fast, disk space efficient package manager, alternative to npm and yarn"
HOMEPAGE="https://pnpm.io"
SRC_URI="
amd64? ( https://github.com/pnpm/pnpm/releases/download/v${PV}/pnpm-linux-x64 -> ${P}-amd64 )
arm64? ( https://github.com/pnpm/pnpm/releases/download/v${PV}/pnpm-linux-arm64 -> ${P}-arm64 )
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="strip"
RDEPEND="!net-libs/nodejs[corepack]"
QA_PREBUILT="usr/bin/pnpm"
src_install() {
newbin "${DISTDIR}/${P}-${ARCH}" pnpm
}