dbar

LOW
maintainer dusanb 1 votes scanned 2026-09-14 17:17:35.691721
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: Dusan Borovcanin <borovcanindusan1@gmail.com>
2
3# Built from the tagged source. `dbar-bin` repackages the same release's
4# prebuilt binary for anyone who would rather not compile.
5#
6# pkgver and sha256sums are rewritten by scripts/aur-publish.sh when a tag is
7# released, so the copy in the repository always describes a real release
8# rather than a placeholder nobody can build.
9
10pkgname=dbar
11pkgver=0.6.0
12pkgrel=1
13pkgdesc="A small, event-driven Wayland status bar for Sway and SwayFX"
14arch=('x86_64' 'aarch64')
15url="https://github.com/dborovcanin/dbar"
16license=('Apache-2.0')
17# What the linker actually recorded: readelf -d names libpipewire, libgcc and
18# libc, and nothing else. Wayland and xkbcommon are build-time probes - the
19# Wayland protocol is spoken by dbar's own code rather than through libwayland.
20# Exactly what readelf -d records, and no more: libpipewire-0.3.so, libgcc_s.so
21# and libc. `gcc-libs` would name the same libgcc_s through a metapackage that
22# also drags in libasan, libtsan, libobjc and libgfortran, none of which dbar
23# links against.
24depends=('glibc' 'libgcc' 'libpipewire')
25makedepends=('cargo' 'clang' 'pkgconf' 'wayland' 'libxkbcommon')
26optdepends=(
27 'noto-fonts: the default font family and the Latin fallback'
28 'noto-fonts-emoji: colour emoji in window titles and track names'
29 'noto-fonts-cjk: Chinese, Japanese and Korean window titles'
30 'ttf-nerd-fonts-symbols: Nerd Font glyphs in workspace names'
31 'sway: the compositor dbar reads workspaces and window titles from'
32)
33# The release profile already strips, so there are no symbols to split out.
34options=('!debug')
35provides=("dbar=$pkgver")
36conflicts=('dbar-bin' 'dbar-git')
37source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
38sha256sums=('8645398ba8ae209a77d6c89dbf7a71791997fd36a2567d299a584a85fb24be0f')
39
40prepare() {
41 cd "$pkgname-$pkgver"
42 export RUSTUP_TOOLCHAIN=stable
43 # Vendor everything now so build() and check() can run with --frozen and
44 # touch the network at no point after this.
45 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
46}
47
48build() {
49 cd "$pkgname-$pkgver"
50 export RUSTUP_TOOLCHAIN=stable
51 export CARGO_TARGET_DIR=target
52 cargo build --frozen --release
53}
54
55check() {
56 cd "$pkgname-$pkgver"
57 export RUSTUP_TOOLCHAIN=stable
58 export CARGO_TARGET_DIR=target
59 # The suite parses every shipped example and uses a stub text measurer, so it
60 # needs neither a compositor nor this machine's hardware.
61 cargo test --frozen --release
62}
63
64package() {
65 cd "$pkgname-$pkgver"
66 install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
67 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
68 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
69 install -Dm644 spec.md "$pkgdir/usr/share/doc/$pkgname/spec.md"
70 # examples/config.toml is the compiled-in default; the rest are themes and
71 # the two scripts the command examples point at.
72 install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/examples" examples/*.toml
73 install -Dm755 -t "$pkgdir/usr/share/doc/$pkgname/examples" examples/*.sh
74}
75

Scan history

Scanned at (UTC)SeverityRules
2026-09-14 17:17:35 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