pnpm-rust

LOW
maintainer bash000000 0 votes scanned 2026-09-09 13:19:49.747679
View on AUR
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
4pkgname=pnpm-rust
5pkgver=12.3.4
6pkgrel=1
7pkgdesc="Fast, disk space efficient package manager (Rust version, built from source)"
8arch=('x86_64' 'aarch64')
9url="https://github.com/pnpm/pnpm"
10license=('MIT')
11makedepends=('cargo')
12options=()
13conflicts=('pnpm')
14provides=('pnpm')
15source=("$_pkgname-$pkgver.tar.gz::https://github.com/pnpm/pnpm/archive/refs/tags/v${pkgver}.tar.gz")
16sha256sums=('4f400669b36259278efe44278e4adfc7f449fbccb4c255670c66332a7a792aa1')
17
18prepare() {
19 export RUSTUP_TOOLCHAIN=stable
20 cd "$_pkgname-$pkgver"
21 cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
22}
23
24build() {
25 cd "$_pkgname-$pkgver"
26 cargo build --frozen --release --bin pnpm
27}
28
29package() {
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)SeverityRules
2026-09-09 13:19:49 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion