betterwright-bin
LOW
maintainer juliusk
0 votes
scanned 2026-08-26 09:30:02.614524
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
3
pkgname=betterwright-bin
4
pkgver=1.10.0
5
pkgrel=1
6
pkgdesc="Policy-guarded, token-efficient Playwright browser for AI agents"
7
arch=('any')
8
url="https://github.com/BetterWright/betterwright"
9
license=('MIT')
10
depends=('nodejs>=22.18.0')
11
makedepends=('npm')
12
provides=('betterwright')
13
conflicts=('betterwright')
14
install=betterwright.install
15
noextract=("$_npmname-$pkgver.tgz")
16
source=("$_npmname-$pkgver.tgz::https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
17
sha256sums=('4db6fa2d55d64b4982145b5477a42d2b8b85a5434639481d0740db597c1b23c1')
18
19
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-26 09:30:02 | Low | 1 |