scuffed-stat-tracker-bin
LOW
maintainer Soot
0 votes
scanned 2026-10-20 13:28:00.015066
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: Soot
2
# Packaged by Scuffed QA. Installs the prebuilt release tarball as is (no compile).
3
4
pkgname=scuffed-stat-tracker-bin
5
_tag=stat-tracker-v0.5.0-rc.2
6
pkgver=0.5.0rc2
7
pkgrel=1
8
pkgdesc="Overwatch personal stats tracker for Scuffed Crew (capture daemon and desktop app)"
9
arch=('x86_64')
10
url="https://github.com/FrozenTear/scuffed-crew"
11
license=('MIT' 'Apache-2.0')
12
depends=('glibc' 'libgcc' 'libstdc++' 'zlib' 'bash' 'openssl' 'mesa' 'wayland' 'gtk3' 'glib2' 'gdk-pixbuf2'
13
'libx11' 'libxtst' 'libxinerama' 'libxkbcommon' 'xdg-desktop-portal')
14
optdepends=(
15
'wl-clipboard: Copy buttons on Wayland'
16
'xclip: Copy buttons on X11'
17
'libayatana-appindicator: tray icon'
18
'xdg-desktop-portal-kde: screen capture on KDE Wayland'
19
'xdg-desktop-portal-gnome: screen capture on niri and GNOME'
20
)
21
provides=('scuffed-stat-tracker')
22
conflicts=('scuffed-stat-tracker')
23
options=('!strip' '!debug')
24
install=scuffed-stat-tracker.install
25
source=("scuffed-stat-tracker-seed-tessdata"
26
"LICENSE-MIT::https://raw.githubusercontent.com/FrozenTear/scuffed-crew/${_tag}/LICENSE-MIT"
27
"LICENSE-APACHE::https://raw.githubusercontent.com/FrozenTear/scuffed-crew/${_tag}/LICENSE-APACHE")
28
source_x86_64=("scuffed-stat-tracker-${pkgver}.tar.gz::${url}/releases/download/${_tag}/scuffed-stat-tracker-linux-${CARCH}.tar.gz")
29
sha256sums=('976824c0c583ba2066d72eb1d5215961e7066cfc61dd7e09b700a6b446c49c15'
30
'f06096d72781572a2e19344e81d3a235f99b495480d2f2f8b3be703bb286dfef'
31
'cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30')
32
sha256sums_x86_64=('72c2eedfb71f3a1ed304e9907ce73a80ed5df0320b1bc4cd0c92dd6797f44afb')
33
34
package() {
35
cd "${srcdir}/scuffed-stat-tracker-linux-${CARCH}"
36
37
# Binaries. Their RUNPATH is $ORIGIN/../lib/scuffed-stat-tracker/{ocr,gui},
38
# so the bundled libs must sit at /usr/lib/scuffed-stat-tracker.
39
install -Dm755 bin/scuffed-stat-tracker "${pkgdir}/usr/bin/scuffed-stat-tracker"
40
install -Dm755 bin/stat-tracker-gui "${pkgdir}/usr/bin/stat-tracker-gui"
41
42
# Bundled Tesseract and its libs (ocr/), plus libxdo for the app (gui/).
43
local f
44
for f in lib/scuffed-stat-tracker/ocr/* lib/scuffed-stat-tracker/gui/*; do
45
install -Dm755 "$f" "${pkgdir}/usr/${f}"
46
done
47
48
# Helpers the units and the app read.
49
install -Dm755 import-session-env.sh "${pkgdir}/usr/lib/scuffed-stat-tracker/import-session-env.sh"
50
install -Dm644 install-paths.sh "${pkgdir}/usr/lib/scuffed-stat-tracker/install-paths.sh"
51
install -Dm755 "${srcdir}/scuffed-stat-tracker-seed-tessdata" \
52
"${pkgdir}/usr/lib/scuffed-stat-tracker/seed-tessdata"
53
54
# OCR models. The tracker only uses koverwatch from
55
# ~/.local/share/scuffed-stat-tracker/tessdata, so the service copies
56
# them there on start (seed-tessdata) when they are missing or old.
57
install -Dm644 tessdata/eng.traineddata "${pkgdir}/usr/share/scuffed-stat-tracker/tessdata/eng.traineddata"
58
install -Dm644 tessdata/koverwatch.traineddata "${pkgdir}/usr/share/scuffed-stat-tracker/tessdata/koverwatch.traineddata"
59
60
# systemd user units with absolute /usr paths. Not enabled by the package.
61
sed -e 's|^ExecStart=.*|ExecStart=/usr/bin/scuffed-stat-tracker|' \
62
-e '/^\[Service\]/a ExecStartPre=+/usr/lib/scuffed-stat-tracker/seed-tessdata' \
63
assets/scuffed-stat-tracker.service > scuffed-stat-tracker.service
64
sed -e 's|^ExecStart=.*|ExecStart=/usr/lib/scuffed-stat-tracker/import-session-env.sh|' \
65
assets/scuffed-stat-tracker-session.service > scuffed-stat-tracker-session.service
66
install -Dm644 scuffed-stat-tracker.service "${pkgdir}/usr/lib/systemd/user/scuffed-stat-tracker.service"
67
install -Dm644 scuffed-stat-tracker-session.service "${pkgdir}/usr/lib/systemd/user/scuffed-stat-tracker-session.service"
68
69
# Menu entry with absolute paths.
70
sed -e 's|^Exec=.*|Exec=/usr/bin/stat-tracker-gui|' \
71
-e 's|^TryExec=.*|TryExec=/usr/bin/stat-tracker-gui|' \
72
assets/scuffed-stat-tracker.desktop > scuffed-stat-tracker.desktop
73
install -Dm644 scuffed-stat-tracker.desktop "${pkgdir}/usr/share/applications/scuffed-stat-tracker.desktop"
74
75
install -Dm644 VERSION "${pkgdir}/usr/share/scuffed-stat-tracker/VERSION"
76
install -Dm644 "${srcdir}/LICENSE-MIT" "${srcdir}/LICENSE-APACHE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
77
}
78
Changes since previous scan
--- PKGBUILD @ 2026-10-20 11:27+++ PKGBUILD @ 2026-10-20 13:28@@ -5,7 +5,7 @@ _tag=stat-tracker-v0.5.0-rc.2 pkgver=0.5.0rc2 pkgrel=1-pkgdesc="Overwatch 2 personal stats tracker for Scuffed Crew (capture daemon and desktop app)"+pkgdesc="Overwatch personal stats tracker for Scuffed Crew (capture daemon and desktop app)" arch=('x86_64') url="https://github.com/FrozenTear/scuffed-crew" license=('MIT' 'Apache-2.0')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 13:28:00 | Low | 1 |
| 2026-10-20 11:27:57 | Low | 2 |