autoroute

LOW
maintainer simplyjessie 0 votes scanned 2026-08-24 11:22:50.619045
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: simplyyjessie <simplyyjessie@pm.me>
2#
3# Release checklist (per tag):
4# 1. bump pkgver to the tag (without the leading v), reset pkgrel=1
5# 2. updpkgsums
6# 3. makepkg --printsrcinfo > .SRCINFO
7# 4. push PKGBUILD + .SRCINFO to ssh://aur@aur.archlinux.org/autoroute.git
8
9pkgname=autoroute
10pkgver=0.4.0
11pkgrel=1
12pkgdesc="Persistent PipeWire routing manager — routing rules that survive app relaunches"
13arch=('x86_64')
14# The GitHub mirror is the AUR source: git.bussy.cloud is a self-hosted Gitea behind
15# Cloudflare, so it is not a dependable fetch target for everyone building this package.
16url="https://github.com/SimplyJustJessie/AutoRoute"
17license=('MIT')
18# pipewire: pw-dump / pw-link / pw-mon — how AutoRoute reads and edits the graph.
19# libpulse: pactl — loads/unloads the null sinks behind app-managed virtual sinks.
20# fontconfig: Avalonia's text stack resolves fonts through it at startup.
21depends=('pipewire' 'wireplumber' 'libpulse' 'dotnet-runtime-10.0' 'fontconfig'
22 'hicolor-icon-theme')
23makedepends=('dotnet-sdk-10.0')
24# GitHub archives extract to <repo>-<pkgver>, e.g. AutoRoute-0.4.0 (not $pkgname).
25_srcdir="AutoRoute-$pkgver"
26source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
27sha256sums=('3e5aca89b6577b0e28c343d88c1a22d6c0232d49db0aacd510c2fcaac19d26b8')
28options=('!strip') # .NET assemblies must not be stripped
29
30build() {
31 cd "$_srcdir"
32 export DOTNET_CLI_TELEMETRY_OPTOUT=1
33 export DOTNET_NOLOGO=1
34 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
35 # Framework-dependent on purpose: the runtime comes from dotnet-runtime-10.0 rather than
36 # being vendored, so security updates to .NET reach this package through pacman. (The
37 # AppImage is the self-contained build; see scripts/build-appimage.sh.)
38 # Version is baked in so the app reports the packaged version; the in-app self-updater
39 # stays inert either way — it is gated on $APPIMAGE, which pacman installs never set.
40 # DebugType=none: a Release build otherwise ships .pdb files AND stamps their absolute build
41 # path into each assembly, which drags $srcdir into the package (makepkg flags it, and it
42 # breaks reproducibility). Exception method names survive without PDBs; only line numbers go.
43 # -r linux-x64 (with --no-self-contained) keeps the publish framework-dependent while pinning
44 # it to this arch: without a RID, Avalonia's Skia/HarfBuzz natives ship for every RID it
45 # supports — arm, riscv64, musl, osx, win — none of which are usable in an x86_64 package.
46 dotnet publish src/AutoRoute.App -c Release -r linux-x64 --no-self-contained \
47 -p:Version="$pkgver" -p:InformationalVersion="$pkgver" \
48 -p:DebugType=none -p:DebugSymbols=false \
49 -o "$srcdir/publish"
50}
51
52package() {
53 cd "$_srcdir"
54 install -dm755 "$pkgdir/usr/lib/$pkgname"
55 cp -a "$srcdir/publish/." "$pkgdir/usr/lib/$pkgname/"
56 install -dm755 "$pkgdir/usr/bin"
57 ln -s "/usr/lib/$pkgname/AutoRoute.App" "$pkgdir/usr/bin/autoroute"
58 install -Dm644 packaging/autoroute.desktop "$pkgdir/usr/share/applications/autoroute.desktop"
59 install -Dm644 packaging/autoroute.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/autoroute.png"
60 # The in-repo unit targets the manual install (a binary or AppImage symlink under
61 # ~/.local/bin) and carries AppImage caveats that cannot apply here; repoint it at the
62 # packaged binary instead of vendoring a second copy of the hardening block.
63 sed -e 's|^ExecStart=.*|ExecStart=/usr/bin/autoroute --background|' \
64 -e '/^# %h\/\.local\/bin\/AutoRoute must exist/,+1d' \
65 -e '/^# !!! AppImage users:/,+3d' \
66 dist/systemd/autoroute.service > "$srcdir/autoroute.service"
67 grep -q '^ExecStart=/usr/bin/autoroute --background$' "$srcdir/autoroute.service"
68 install -Dm644 "$srcdir/autoroute.service" \
69 "$pkgdir/usr/lib/systemd/user/autoroute.service"
70 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
71 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
72}
73

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 11:22:50 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