zelda-olb-fr
The package downloads a source tarball from a non-whitelisted but plausibly project-owned domain (the game's official site) and builds it; the source is verified via md5sum, and no untrusted executable code is run, making this a normal AUR build despite the non-standard host.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The package downloads a source tarball from a non-whitelisted but plausibly project-owned domain (the game's official site) and builds it; the source is verified via md5sum, and no untrusted executable code is run, making this a normal AUR build despite the non-standard 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:17
"http://www.zeldaroth.fr/fichier/OLB/linux/ZeldaOLB-src-linux.zip"
PKGBUILD
1 offending line(s) highlighted# Maintainer: FoolEcho <foolecho at gmail dot com>
pkgname=zelda-olb-fr
_name=zelda-olb
pkgver=3.6
pkgrel=6
arch=('i686' 'x86_64')
pkgdesc="Zelda: Oni Link Begins is the sequel of Zelda: Return of the Hylian (french version)"
url="http://www.zeldaroth.fr/"
license=('Unknown')
depends=('sdl_gfx' 'sdl_mixer' 'sdl_image' 'xdg-utils' 'hicolor-icon-theme' 'timidity++')
makedepends=(imagemagick)
optdepends=('freepats-legacy: soundfont for timidity to be able to have music in game'
'soundfont-fluid: another soundfont for timidity to be able to have music in game if you prefer')
install=${_name}.install
changelog=ChangeLog
source=(
"http://www.zeldaroth.fr/fichier/OLB/linux/ZeldaOLB-src-linux.zip"
zelda-olb.desktop)
md5sums=('93354eb9da873c50349f0158c3ddf90e'
'aa9e6527ebbdb04aacc7531a1c700865')
prepare () {
cd $srcdir/ZeldaOLB-src-linux/src
# Fix the Game so that it reads save files from $HOME/.zelda-olb
sed -i -e s~\"data/save/~string\(getenv\(\"HOME\"\)\)+\"/.$_name/~g Joueur.cpp
#save/restore volume settings and ranks
sed -i -e s#\"data/save/system.dat\"#\(string\(getenv\(\"HOME\"\)\)+\"/.$_name/system.dat\"\).c_str\(\)#g Keyboard.cpp
#remove saves from menu
sed -i -e s#\"data/save#string\(getenv\(\"HOME\"\)\)+\"/.$_name#g Keyboard.cpp
#grab rank from Zelda Return of the Hylian
sed -i -e s#Zelda\ Return\ of\ the\ Hylian/data/save#.zelda-roth#g Keyboard.cpp
#Make the game treat /usr/share/$pkgname as its data directory
for i in *.cpp
do
sed -i -e s~data/~/usr/share/$pkgname/~g $i
done
# Create the directory $HOME/.zelda-olb if it doesnt exist
sed -i -e s~'(NULL));'~'&\n\tif (system(\"stat $HOME/.'$_name' \&> /dev/null")) system (\"mkdir $HOME/.'$_name'\");'~ main.cpp
#Fix the preprocessor options (SDL.h not found)
sed -i -e "s#CFLAGS =#CFLAGS += -I/usr/include/SDL#g" Makefile
sed -i -e "s#LDFLAGS =#LDFLAGS +=#g" Makefile
}
build() {
cd $srcdir/ZeldaOLB-src-linux/src
make
}
package () {
install -Dm644 $_name.desktop $pkgdir/usr/share/applications/$_name.desktop
cd $srcdir/ZeldaOLB-src-linux/src
install -Dm755 ZeldaOLB $pkgdir/usr/bin/$_name
cd data
for i in {map,music,sound}/*
do
install -Dm644 $i $pkgdir/usr/share/$pkgname/$i
done
cd images
for i in */*
do
install -Dm644 $i $pkgdir/usr/share/$pkgname/images/$i
done
mkdir -p $pkgdir/usr/share/icons/hicolor/256x256/apps
convert logos/fond.png -resize 256x256\! $pkgdir/usr/share/icons/hicolor/256x256/apps/$_name.png
}
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 |