waybar-niri-focused-workspaces
LOW
maintainer pentago
0 votes
scanned 2026-09-14 09:16:46.306722
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: pentago <876756+pentago@users.noreply.github.com>
2
3
pkgname=waybar-niri-focused-workspaces
4
pkgver=0.1.0
5
# Upstream repo name differs from pkgname, so the source tarball's root dir
6
# is <repo>-<pkgver>, not <pkgname>-<pkgver>.
7
_reponame=waybar-niri-focused-workspaces-module
8
pkgrel=1
9
pkgdesc='Waybar module showing the niri workspaces of the focused output on every bar'
10
arch=('x86_64')
11
url='https://github.com/pentago/waybar-niri-focused-workspaces-module'
12
license=('MIT')
13
depends=('gcc-libs' 'glib2' 'glibc' 'gtk3')
14
makedepends=('cargo' 'scdoc')
15
optdepends=('niri: the compositor this module talks to')
16
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
17
sha256sums=('b3fd9d4d6df50761e291079e1cbe2cba99cd4c44f6c05fb863378242581e71b4')
18
19
prepare() {
20
cd "$_reponame-$pkgver"
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
23
}
24
25
build() {
26
cd "$_reponame-$pkgver"
27
export RUSTUP_TOOLCHAIN=stable
28
export CARGO_TARGET_DIR=target
29
cargo build --frozen --release
30
make man/waybar-niri-focused-workspaces.5
31
}
32
33
check() {
34
cd "$_reponame-$pkgver"
35
export RUSTUP_TOOLCHAIN=stable
36
cargo test --frozen --release
37
}
38
39
package() {
40
cd "$_reponame-$pkgver"
41
# Packages must stay under /usr; /usr/local is the local admin's territory.
42
make PREFIX=/usr DESTDIR="$pkgdir" install
43
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-14 09:16:46 | Low | 1 |