playdate-mirror
The package downloads a prebuilt .deb from the official vendor's CDN (panic.com), which is a standard practice for proprietary software; the host is not whitelisted but is plausibly official, and the checksum is verified, making this a low-risk, normal AUR package.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from the official vendor's CDN (panic.com), which is a standard practice for proprietary software; the host is not whitelisted but is plausibly official, and the checksum is verified, making this a low-risk, normal AUR package.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:41
"https://download-cdn.panic.com/mirror/Linux/Mirror-${pkgver}.x86_64.deb"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Zoey Mertes (zmertes at zmertes dot net)
# shellcheck shell=bash disable=SC2034,SC2154
# release 1.4.0 notes
# * yay updated webkit2gtk, thanks for responding to my email panic <3
# * panic keeps changing the deb name capitalization
# release 1.2.0 notes
# * fresh binary and gamecontrollerdb.txt
# release 1.1.0 notes
# * yay finally a proper packaging, no more nabbing it out of the macos version
# * yay svg icon!
# * for some reason they think their app binary being `mirror` is okay, we're moving it back to `PlaydateMirror`
# * the /usr/share/doc/mirror/README.md contains nothing of value, so we don't package it
# * they put the udev rule in /etc instead of /usr/lib, so we move it to the right spot
# * though, their udev rule is wayyyy too broad, so we're using our own
# * the app always tries to read gamecontrollerdb.txt from /usr/share/mirror/gamecontrollerdb.txt, so we're stuck putting the file there
# (sorta felt like a wrapper env var script for that might be overkill)
# side note: are the playdate devs reading my pkgbuilds? because they did nearly every change I did in my original pkgbuild
# if so, can you make the binary named PlaydateMirror from the beginning pretty please? thanks <3
pkgname=playdate-mirror
pkgver=1.4.0
pkgrel=1
pkgdesc='Screen viewer and controller for the Playdate console'
arch=('x86_64')
url='https://play.date/mirror/'
license=('custom:proprietary')
depends=(
'gtk3'
'webkit2gtk-4.1'
)
makedepends=()
optdepends=()
options=()
source=(
# Panic is inconsistent about the package filename, sometimes it's Mirror sometimes it's mirror
# With 1.3.0 they changed it after release from mirror to Mirror
# if in doubt check the file listing here: https://download-cdn.panic.com/mirror/Linux/
"https://download-cdn.panic.com/mirror/Linux/Mirror-${pkgver}.x86_64.deb"
"50-playdate-mirror.rules"
)
sha512sums=('098630f1cf11d69274eb653c536afeabc4b649a6c5ffa6e41665d8b763cd4c5b10dbbff49ee086038e27c114d4b02e3c192006ab99ef64aa61d3269fc01eea43'
'84d348266722753a81bdf95e17917f4c4665c484fdb3ac258b0f46d5e3e92c62aff0df91b78c0e1d43ace9f2e15f3a9a6a24726a37302ddbf40499f5ca60864c')
build() {
echo >&2 "Extracting the deb"
cd "${srcdir}" || exit 2
tar xvf "${srcdir}/data.tar.zst"
echo >&2 "Patching the desktop file"
sed -i -e 's|/usr/bin/mirror|/usr/bin/PlaydateMirror|' \
-e 's/Name=Mirror/Name=Playdate Mirror/' \
./usr/share/applications/date.play.mirror.desktop
}
package() {
echo >&2 'Packaging the mirror binary'
install -D -m 755 "${srcdir}/usr/bin/mirror" "${pkgdir}/usr/bin/PlaydateMirror"
echo >&2 'Packaging the mirror assets'
mkdir -p "${pkgdir}/usr/share/"
cp -vr "${srcdir}/usr/share/mirror" "${pkgdir}/usr/share/mirror"
echo >&2 'Packaging the license'
install -D -m 644 "${srcdir}/usr/share/doc/mirror/LICENSE.md" "${pkgdir}/usr/share/licenses/playdate-mirror/LICENSE.md"
echo >&2 'Packaging the icon svg'
install -D -m 644 -T \
"${srcdir}/usr/share/icons/hicolor/scalable/apps/date.play.mirror.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/date.play.mirror.svg"
echo >&2 'Packaging the udev rule'
install -D -m 644 -T \
"${srcdir}/50-playdate-mirror.rules" \
"${pkgdir}/usr/lib/udev/rules.d/50-playdate-mirror.rules"
echo >&2 'Packaging the desktop file'
install -D -m 755 -T \
"${srcdir}/usr/share/applications/date.play.mirror.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |