jotbird-cli
LOW
maintainer jskier
0 votes
scanned 2026-09-15 17:20:16.402287
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>
2
pkgname=jotbird-cli
3
_npmname=jotbird
4
pkgver=0.4.1
5
pkgrel=1
6
pkgdesc='Publish Markdown from the command line with JotBird'
7
arch=('any')
8
url='https://www.jotbird.com/cli'
9
license=('MIT')
10
depends=('nodejs>=18')
11
makedepends=('npm')
12
optdepends=('xdg-utils: open the browser for jotbird login')
13
provides=("$_npmname")
14
conflicts=("$_npmname")
15
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
16
noextract=("$_npmname-$pkgver.tgz")
17
sha256sums=('889269ae7e530a0094ff596e95bc53b177b5233401d88ef4b1ead6d6cdae50c5')
18
19
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-15 17:20:16 | Low | 1 |