diff --git a/srcpkgs/pnpm/template b/srcpkgs/pnpm/template index affdb2069add67..275fcd9c579499 100644 --- a/srcpkgs/pnpm/template +++ b/srcpkgs/pnpm/template @@ -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" @@ -9,9 +9,12 @@ short_desc="Fast, disk space efficient package manager" maintainer="Bnyro " 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" @@ -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" }