zero-beat-git

LOW
maintainer sheyiyuan 0 votes scanned 2026-10-21 09:31:11.007953
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: Sheyiyuan <sheyiyuantan90@qq.com>
2pkgname=zero-beat-git
3pkgver=0.4.1.r8.g048bd4a
4pkgrel=1
5pkgdesc="Terminal music player for NetEase Cloud Music and Bilibili (TUI)"
6arch=('x86_64' 'aarch64')
7url="https://github.com/Sheyiyuan/zero-beat"
8license=('AGPL-3.0-only')
9depends=('ffmpeg' 'alsa-lib' 'libpulse')
10makedepends=('git' 'go')
11provides=('zero-beat')
12conflicts=('zero-beat')
13options=(!strip !debug)
14source=("git+${url}.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/zero-beat"
19 local _ver
20 _ver=$(git describe --tags --abbrev=0 2>/dev/null || echo v0.4.0)
21 printf '%s.r%s.g%s' \
22 "${_ver#v}" \
23 "$(git rev-list --count HEAD)" \
24 "$(git rev-parse --short HEAD)"
25}
26
27build() {
28 cd "$srcdir/zero-beat"
29 export CGO_ENABLED=0
30 local _ver="${pkgver%%.r*}"
31 go build -buildmode=pie -trimpath -buildvcs=false \
32 -ldflags "-s -w -bindnow -X main.version=${_ver}" \
33 -o zero ./cmd/zero
34}
35
36package() {
37 cd "$srcdir/zero-beat"
38 install -Dm755 zero "$pkgdir/usr/bin/zero"
39 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40 install -d "$pkgdir/usr/share/doc/$pkgname"
41 install -m644 README.md THIRD_PARTY_NOTICES.md \
42 "$pkgdir/usr/share/doc/$pkgname/"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 09:31:11 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