balun

LOW
maintainer jmsq 0 votes scanned 2026-09-05 18:00:42.527733
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: John-Michael Mulesa <jmulesa@gmail.com>
2pkgname=balun
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="A lightweight cross-platform HDHomeRun live TV viewer"
6arch=('x86_64')
7url="https://github.com/jm2/balun"
8license=('GPL-3.0-or-later')
9# The release profile already applies thin LTO and strips the binary, so
10# makepkg's own LTO and debug-package handling are disabled.
11options=('!lto' '!debug')
12depends=(
13 'glibc'
14 'libgcc'
15 'gtk4>=4.16'
16 'libadwaita>=1.6'
17 'gstreamer>=1.20'
18 'gst-plugins-base-libs'
19 'gst-plugins-good'
20 'gst-plugins-bad-libs'
21 'gst-plugin-gtk4'
22 'gst-libav'
23)
24makedepends=(
25 'cargo'
26 'pkgconf'
27)
28# The upstream package compliance validator run in check() needs perl.
29checkdepends=('perl')
30source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
31sha256sums=('cabfd7f97d5ba0ebdbad2d703a7c49d814e5bf71d1972f9ea5553cebdf91d303')
32
33prepare() {
34 cd "${pkgname}-${pkgver}"
35 export RUSTUP_TOOLCHAIN=stable
36 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
37}
38
39build() {
40 cd "${pkgname}-${pkgver}"
41 export RUSTUP_TOOLCHAIN=stable
42 export CARGO_TARGET_DIR=target
43 # The desktop feature is required: the default feature set builds only the
44 # GTK-free core library and the balun-discover diagnostic.
45 cargo build --frozen --release --features desktop --bin balun
46}
47
48check() {
49 cd "${pkgname}-${pkgver}"
50 build-aux/linux/validate-package-compliance.sh --elf target/release/balun
51}
52
53package() {
54 cd "${pkgname}-${pkgver}"
55
56 # Binary
57 install -Dm755 "target/release/balun" "$pkgdir/usr/bin/balun"
58
59 # Desktop entry
60 install -Dm644 "data/io.github.jm2.Balun.desktop" \
61 "$pkgdir/usr/share/applications/io.github.jm2.Balun.desktop"
62
63 # AppStream metainfo
64 install -Dm644 "data/io.github.jm2.Balun.metainfo.xml" \
65 "$pkgdir/usr/share/metainfo/io.github.jm2.Balun.metainfo.xml"
66
67 # Icons
68 for size in 16 24 32 48 64 128 256 512; do
69 install -Dm644 \
70 "data/icons/hicolor/${size}x${size}/apps/io.github.jm2.Balun.png" \
71 "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/io.github.jm2.Balun.png"
72 done
73 install -Dm644 "data/icons/hicolor/scalable/apps/io.github.jm2.Balun.svg" \
74 "$pkgdir/usr/share/icons/hicolor/scalable/apps/io.github.jm2.Balun.svg"
75 install -Dm644 "data/icons/hicolor/symbolic/apps/io.github.jm2.Balun-symbolic.svg" \
76 "$pkgdir/usr/share/icons/hicolor/symbolic/apps/io.github.jm2.Balun-symbolic.svg"
77
78 # License
79 install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
80
81 # Upstream's bundled-component policy gate over the installed tree
82 build-aux/linux/validate-package-compliance.sh --tree "$pkgdir"
83}
84

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 18:00:42 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