silverbullet-cli
LOW
maintainer oxy
0 votes
scanned 2026-10-31 15:58:34.921556
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>
2
pkgname=silverbullet-cli
3
pkgver=2.12.1
4
pkgrel=1
5
pkgdesc='Official command-line client for SilverBullet'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/silverbulletmd/silverbullet'
8
license=('MIT')
9
depends=('glibc' 'libgcc')
10
makedepends=('cargo')
11
optdepends=('xdg-utils: open URLs from the CLI')
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
13
sha256sums=('d263988e8ad048bf1d1338d038e3a1bfd80c80844297186d726cafbe3f8a35e5')
14
15
prepare() {
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
22
build() {
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
28
check() {
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
34
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-31 15:58:34 | Low | 1 |