neferbar-git
LOW
maintainer bnema
0 votes
scanned 2026-10-08 18:09:39.829306
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: bnema <b at bnema dot dev>
2
# The release workflow sets pkgver and publishes this file to the AUR on every
3
# release tag, so the AUR version never falls behind the latest tag.
4
pkgname=neferbar-git
5
pkgver=0.2.0.r0.gc616855
6
pkgrel=1
7
pkgdesc='One-cell-high, terminal-style status bar for Wayland, driven by scripts (git version)'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/bnema/neferbar'
10
license=('MIT')
11
# Loaded at runtime (purego, no cgo): not seen by makepkg's library scan.
12
# fontconfig provides fc-match, which finds the font files.
13
depends=('glibc' 'fontconfig' 'libxkbcommon' 'vulkan-icd-loader' 'vulkan-driver')
14
makedepends=('go>=2:1.27' 'git')
15
optdepends=('ttf-jetbrains-mono-nerd: default font, with the icons modules print')
16
provides=('neferbar')
17
conflicts=('neferbar' 'neferbar-bin')
18
source=('git+https://github.com/bnema/neferbar.git')
19
sha256sums=('SKIP')
20
21
pkgver() {
22
cd neferbar
23
# v0.2.0-5-gabc1234 -> 0.2.0.r5.gabc1234. Pre-release tags (v0.3.0-rc1)
24
# are skipped: pacman sorts 0.3.0.rc1 after 0.3.0.
25
git describe --long --tags --abbrev=7 --exclude='*-*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
26
}
27
28
prepare() {
29
cd neferbar
30
export GOPATH="$srcdir/gopath" GOFLAGS='-mod=readonly -modcacherw' GOTOOLCHAIN=local
31
go mod download
32
}
33
34
build() {
35
cd neferbar
36
export GOPATH="$srcdir/gopath" CGO_ENABLED=0 GOTOOLCHAIN=local GOPROXY=off
37
export GOFLAGS='-mod=readonly -modcacherw -trimpath -buildvcs=false -buildmode=pie'
38
go build -ldflags "-X main.version=$pkgver" -o neferbar ./cmd/neferbar
39
}
40
41
check() {
42
cd neferbar
43
./neferbar version
44
}
45
46
package() {
47
cd neferbar
48
install -Dm755 neferbar "$pkgdir/usr/bin/neferbar"
49
install -Dm644 README.md "$pkgdir/usr/share/doc/neferbar/README.md"
50
cp -r examples "$pkgdir/usr/share/doc/neferbar/examples"
51
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 18:09:39 | Low | 1 |