ultima-ratio-regum
Downloads a prebuilt Windows executable (.exe) from the project's own official domain (markrjohnsongames.com), runs it under Wine; the source host is the game developer's own site with a proper sha256 checksum, so this is a legitimate prebuilt-from-vendor scenario rather than an unverifiable third-party host.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads a prebuilt Windows executable (.exe) from the project's own official domain (markrjohnsongames.com), runs it under Wine; the source host is the game developer's own site with a proper sha256 checksum, so this is a legitimate prebuilt-from-vendor scenario rather than an unverifiable third-party host.
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:12
source=("$pkgname-$pkgver.zip::https://www.markrjohnsongames.com/wp-content/uploads/2026/01/URR0104d.zip")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Aaron Friesen <aaron@frie.dev>
# shellcheck shell=bash disable=SC2034,SC2154,SC2164
pkgname=ultima-ratio-regum
pkgver=0.10.4d
pkgrel=1
pkgdesc='A roguelike with procedurally generated civilizations, cultures, and religions'
arch=(x86_64)
url='https://www.markrjohnsongames.com/games/ultima-ratio-regum/'
license=(LicenseRef-ultima-ratio-regum)
depends=(wine)
source=("$pkgname-$pkgver.zip::https://www.markrjohnsongames.com/wp-content/uploads/2026/01/URR0104d.zip")
sha256sums=('c24e86b2d8b6b27a33f53a085d0378112aab6954871608b76ac04cbf95125934')
package() {
# Installed unmodified, as the upstream license requires.
install -dm755 "$pkgdir/usr/share/$pkgname"
find . -mindepth 1 -maxdepth 1 ! -name "$pkgname-$pkgver.zip" -exec cp -r --no-preserve=ownership -t "$pkgdir/usr/share/$pkgname/" {} +
# Normalize permissions.
find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 {} +
find "$pkgdir/usr/share/$pkgname" -type d -exec chmod 755 {} +
# Readme.txt must accompany redistributions.
install -Dm644 Readme.txt "$pkgdir/usr/share/licenses/$pkgname/Readme.txt"
# The game reads its tilesets and writes its saves (World*D/World.dat,
# Prefs.dat) relative to the working directory, which must be writable, so
# run it from a per-user directory that links to the installed files.
install -dm755 "$pkgdir/usr/bin"
cat >"$pkgdir/usr/bin/$pkgname" <<'EOF'
#!/bin/sh
install_dir=/usr/share/ultima-ratio-regum
data_dir="${XDG_DATA_HOME:-$HOME/.local/share}/ultima-ratio-regum"
mkdir -p "$data_dir"
for file in "$install_dir"/*; do
link="$data_dir/${file##*/}"
[ -e "$link" ] || ln -s "$file" "$link"
done
# Suppress .NET/browser prompts and Wine debug spam.
export WINEDLLOVERRIDES=mscoree,mshtml=
export WINEDEBUG=-all
cd "$data_dir" || exit 1
exec wine "$install_dir/URR0104d.exe" "$@"
EOF
chmod 755 "$pkgdir/usr/bin/$pkgname"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 00:06:55 | Low | 3 |
| 2026-10-17 23:21:47 | Low | 3 |
| 2026-10-17 23:20:05 | Medium | 2 |