pithsim-bin
LOW
maintainer lemonxah
0 votes
scanned 2026-09-11 17:22:59.755085
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: Ryno Kotze <lemon.xah@gmail.com>
2
# Successor of pithddu-dashboard-bin: the app now drives every Pith device
3
# (DDU dash, handbrake, active pedals + the DIY FFB pedals over serial), so the
4
# package is named after the project, not the first device.
5
pkgname=pithsim-bin
6
pkgver=0.8.3
7
pkgrel=1
8
pkgdesc="Pith sim-racing dashboard: telemetry, profiles and device setup for the Pith DDU, handbrake and FFB pedals (prebuilt binary)"
9
arch=('x86_64')
10
url="https://github.com/lemonxah/pithsim"
11
license=('BSD-3-Clause')
12
# The Slint renderer is statically linked into the binary; only the winit/GL +
13
# HID/serial (libudev) runtime libs are needed.
14
depends=('fontconfig' 'freetype2' 'libxkbcommon' 'wayland' 'libglvnd' 'systemd-libs')
15
optdepends=('esptool: reflash a device from ROM download mode'
16
'wine: run the in-prefix shared-memory shim for Proton games')
17
provides=("pithsim=$pkgver" "pithddu-dashboard=$pkgver" 'pith-dashboard')
18
conflicts=('pithsim' 'pithddu-dashboard' 'pithddu-dashboard-bin')
19
install=pithsim-bin.install
20
replaces=('pithddu-dashboard-bin')
21
# Both assets come from the same dashboard-v* GitHub Release.
22
source=(
23
"$pkgname-$pkgver.tar.gz::$url/releases/download/dashboard-v$pkgver/pith-dashboard-linux-x86_64.tar.gz"
24
"$pkgname-shm-$pkgver.zip::$url/releases/download/dashboard-v$pkgver/pith-shm-tools-win64.zip"
25
)
26
sha256sums=('d5d8a9f541fb917302039c5bfe06cf090f62e8642ccd6f198056f6f0da594198'
27
'ddbecc0c998a5f6653ee852246cced562b6af1666ad56b3a4e681c178d046797')
28
29
package() {
30
cd "$srcdir/pith-dashboard-linux-x86_64"
31
install -Dm755 pith-dashboard "$pkgdir/usr/bin/pith-dashboard"
32
install -Dm644 pith-dashboard.desktop "$pkgdir/usr/share/applications/pith-dashboard.desktop"
33
install -Dm644 icon.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/pith-dashboard.png"
34
# udev rules for ALL Pith gear (DDU, handbrake, pedals, the DIY FFB pedals'
35
# serial bridge, and the ROM bootloaders) — the app needs the hidraw/tty
36
# nodes user-accessible out of the box. Ships in the release tarball as
37
# 99-pith.rules (older tarballs: 99-pithddu.rules).
38
if [ -f 99-pith.rules ]; then
39
install -Dm644 99-pith.rules "$pkgdir/usr/lib/udev/rules.d/99-pith.rules"
40
elif [ -f 99-pithddu.rules ]; then
41
install -Dm644 99-pithddu.rules "$pkgdir/usr/lib/udev/rules.d/99-pith.rules"
42
fi
43
44
# In-prefix shared-memory tools (Windows .exe, run under Proton/Wine) + the Steam
45
# launch wrapper. This is just the package's canonical copy — pith-shim-run
46
# mirrors it into ~/.local/share/pithddu at runtime and injects from there,
47
# since Steam's sandbox doesn't reliably expose /usr/share/pithddu to the game.
48
cd "$srcdir/pith-shm-tools-win64"
49
install -Dm644 pith-shim.exe "$pkgdir/usr/share/pithddu/pith-shim.exe"
50
install -Dm644 pith-shmbridge.exe "$pkgdir/usr/share/pithddu/pith-shmbridge.exe"
51
install -Dm755 pith-shim-run "$pkgdir/usr/bin/pith-shim-run"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 17:22:59 | Low | 1 |