silverbullet-cli

LOW
maintainer oxy 0 votes scanned 2026-10-31 15:58:34.921556
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: Elmar Athmer <elmar+aur at athmer dot org>
2pkgname=silverbullet-cli
3pkgver=2.12.1
4pkgrel=1
5pkgdesc='Official command-line client for SilverBullet'
6arch=('x86_64' 'aarch64')
7url='https://github.com/silverbulletmd/silverbullet'
8license=('MIT')
9depends=('glibc' 'libgcc')
10makedepends=('cargo')
11optdepends=('xdg-utils: open URLs from the CLI')
12source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
13sha256sums=('d263988e8ad048bf1d1338d038e3a1bfd80c80844297186d726cafbe3f8a35e5')
14
15prepare() {
16 cd "silverbullet-$pkgver"
17 printf '{"version":"%s"}\n' "$pkgver" > version.json
18 export RUSTUP_TOOLCHAIN=stable
19 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
20}
21
22build() {
23 cd "silverbullet-$pkgver"
24 export RUSTUP_TOOLCHAIN=stable
25 CFLAGS="$CFLAGS -fno-lto" cargo build --frozen --release --manifest-path bin/sb/Cargo.toml
26}
27
28check() {
29 cd "silverbullet-$pkgver"
30 export RUSTUP_TOOLCHAIN=stable
31 CFLAGS="$CFLAGS -fno-lto" cargo test --frozen --manifest-path bin/sb/Cargo.toml
32}
33
34package() {
35 cd "silverbullet-$pkgver"
36 install -Dm755 target/release/sb "$pkgdir/usr/bin/sb"
37 install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
38 install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 15:58:34 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