betterwright-bin

LOW
maintainer juliusk 0 votes scanned 2026-08-26 09:30:02.614524
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: Gyula Kisrákói <krakoi90@gmail.com>
2_npmname=betterwright
3pkgname=betterwright-bin
4pkgver=1.10.0
5pkgrel=1
6pkgdesc="Policy-guarded, token-efficient Playwright browser for AI agents"
7arch=('any')
8url="https://github.com/BetterWright/betterwright"
9license=('MIT')
10depends=('nodejs>=22.18.0')
11makedepends=('npm')
12provides=('betterwright')
13conflicts=('betterwright')
14install=betterwright.install
15noextract=("$_npmname-$pkgver.tgz")
16source=("$_npmname-$pkgver.tgz::https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
17sha256sums=('4db6fa2d55d64b4982145b5477a42d2b8b85a5434639481d0740db597c1b23c1')
18
19package() {
20 export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
21 export npm_config_cache="$srcdir/npm-cache"
22
23
24 npm install \
25 --global \
26 --prefix "$pkgdir/usr" \
27 --no-audit \
28 --no-fund \
29 "$srcdir/$_npmname-$pkgver.tgz"
30
31 # Clean non-deterministic npm build paths
32 find "$pkgdir" -name package.json -exec sed -i '/_where/d' {} +
33
34 # Install license
35 install -Dm644 "$pkgdir/usr/lib/node_modules/$_npmname/LICENSE" \
36 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37
38 # Fix root permissions
39 chown -R root:root "$pkgdir"
40}
41

Scan history

Scanned at (UTC)SeverityRules
2026-08-26 09:30:02 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