pnpm-rust
LOW
maintainer bash000000
0 votes
scanned 2026-09-09 13:19:49.747679
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: bash000000 <private>
2
3
_pkgname=pnpm
4
pkgname=pnpm-rust
5
pkgver=12.3.4
6
pkgrel=1
7
pkgdesc="Fast, disk space efficient package manager (Rust version, built from source)"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/pnpm/pnpm"
10
license=('MIT')
11
makedepends=('cargo')
12
options=()
13
conflicts=('pnpm')
14
provides=('pnpm')
15
source=("$_pkgname-$pkgver.tar.gz::https://github.com/pnpm/pnpm/archive/refs/tags/v${pkgver}.tar.gz")
16
sha256sums=('4f400669b36259278efe44278e4adfc7f449fbccb4c255670c66332a7a792aa1')
17
18
prepare() {
19
export RUSTUP_TOOLCHAIN=stable
20
cd "$_pkgname-$pkgver"
21
cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
22
}
23
24
build() {
25
cd "$_pkgname-$pkgver"
26
cargo build --frozen --release --bin pnpm
27
}
28
29
package() {
30
cd "$_pkgname-$pkgver"
31
install -Dm755 "target/release/pnpm" "$pkgdir/usr/bin/pnpm"
32
# pnpm/pnpx/pnx aliases: upstream ships them as sh scripts (see pnpm/npm/pnpm/)
33
install -Dm755 pnpm/npm/pnpm/pn "$pkgdir/usr/bin/pn"
34
install -Dm755 pnpm/npm/pnpm/pnpx "$pkgdir/usr/bin/pnpx"
35
install -Dm755 pnpm/npm/pnpm/pnx "$pkgdir/usr/bin/pnx"
36
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-09 13:19:49 | Low | 1 |