jotbird-cli

LOW
maintainer jskier 0 votes scanned 2026-09-15 17:20:16.402287
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: Jeremy MountainJohnson <jay@jskier.com>
2pkgname=jotbird-cli
3_npmname=jotbird
4pkgver=0.4.1
5pkgrel=1
6pkgdesc='Publish Markdown from the command line with JotBird'
7arch=('any')
8url='https://www.jotbird.com/cli'
9license=('MIT')
10depends=('nodejs>=18')
11makedepends=('npm')
12optdepends=('xdg-utils: open the browser for jotbird login')
13provides=("$_npmname")
14conflicts=("$_npmname")
15source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
16noextract=("$_npmname-$pkgver.tgz")
17sha256sums=('889269ae7e530a0094ff596e95bc53b177b5233401d88ef4b1ead6d6cdae50c5')
18
19package() {
20 npm install -g --no-audit --no-fund --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
21
22 # npm installs global packages with the build user's ownership
23 chown -R root:root "$pkgdir"
24
25 # Remove references to $pkgdir from package.json
26 find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d'
27
28 install -Dm644 "$pkgdir/usr/lib/node_modules/$_npmname/LICENSE" \
29 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
30}
31

Scan history

Scanned at (UTC)SeverityRules
2026-09-15 17:20:16 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