Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions srcpkgs/pnpm/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'pnpm'
pkgname=pnpm
version=11.8.0
version=12.3.4
revision=1
build_style=fetch
hostmakedepends="nodejs jq"
Expand All @@ -9,9 +9,12 @@ short_desc="Fast, disk space efficient package manager"
maintainer="Bnyro <bnyro@tutanota.com>"
license="MIT"
homepage="https://pnpm.io/"
distfiles="https://registry.npmjs.org/pnpm/-/pnpm-${version}.tgz"
checksum=1e963a5c4ca5168550ba03fc4ee8d873a772b072b7fce63b48fff27d720e2e98
distfiles="https://registry.npmjs.org/pnpm/-/pnpm-${version}.tgz
https://raw.githubusercontent.com/pnpm/pnpm/refs/tags/v${version}/LICENSE>LICENSE"
checksum="08a3d2d539b377a6b7ea2469b612672255ca71c30a62698530582cb9d35c268f
4b8e2a57502758b2d034ece9cabf19dd098c5609003ed8dbdafd085274f25bd9"
python_version=3
nostrip=yes

do_install() {
npm install -g --user root --prefix "${DESTDIR}/usr" "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tgz"
Expand All @@ -20,7 +23,7 @@ do_install() {
# Delete JS SourceMaps
find "${DESTDIR}/usr/lib" -depth -name '*.map' -delete

vlicense "$_npmdir/LICENSE"
vlicense LICENSE
vdoc "$_npmdir/README.md"
rm -rf "${DESTDIR}/usr/etc" "$_npmdir/LICENSE" "$_npmdir/README.md"
}
Loading