zelda-olb-fr

LOW
maintainer FoolEcho 2 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: FoolEcho <foolecho at gmail dot com>
2pkgname=zelda-olb-fr
3_name=zelda-olb
4pkgver=3.6
5pkgrel=6
6arch=('i686' 'x86_64')
7pkgdesc="Zelda: Oni Link Begins is the sequel of Zelda: Return of the Hylian (french version)"
8url="http://www.zeldaroth.fr/"
9license=('Unknown')
10depends=('sdl_gfx' 'sdl_mixer' 'sdl_image' 'xdg-utils' 'hicolor-icon-theme' 'timidity++')
11makedepends=(imagemagick)
12optdepends=('freepats-legacy: soundfont for timidity to be able to have music in game'
13 'soundfont-fluid: another soundfont for timidity to be able to have music in game if you prefer')
14install=${_name}.install
15changelog=ChangeLog
16source=(
17 "http://www.zeldaroth.fr/fichier/OLB/linux/ZeldaOLB-src-linux.zip"
18 zelda-olb.desktop)
19md5sums=('93354eb9da873c50349f0158c3ddf90e'
20 'aa9e6527ebbdb04aacc7531a1c700865')
21
22prepare () {
23 cd $srcdir/ZeldaOLB-src-linux/src
24
25 # Fix the Game so that it reads save files from $HOME/.zelda-olb
26 sed -i -e s~\"data/save/~string\(getenv\(\"HOME\"\)\)+\"/.$_name/~g Joueur.cpp
27 #save/restore volume settings and ranks
28 sed -i -e s#\"data/save/system.dat\"#\(string\(getenv\(\"HOME\"\)\)+\"/.$_name/system.dat\"\).c_str\(\)#g Keyboard.cpp
29 #remove saves from menu
30 sed -i -e s#\"data/save#string\(getenv\(\"HOME\"\)\)+\"/.$_name#g Keyboard.cpp
31 #grab rank from Zelda Return of the Hylian
32 sed -i -e s#Zelda\ Return\ of\ the\ Hylian/data/save#.zelda-roth#g Keyboard.cpp
33
34 #Make the game treat /usr/share/$pkgname as its data directory
35 for i in *.cpp
36 do
37 sed -i -e s~data/~/usr/share/$pkgname/~g $i
38 done
39
40 # Create the directory $HOME/.zelda-olb if it doesnt exist
41 sed -i -e s~'(NULL));'~'&\n\tif (system(\"stat $HOME/.'$_name' \&> /dev/null")) system (\"mkdir $HOME/.'$_name'\");'~ main.cpp
42
43 #Fix the preprocessor options (SDL.h not found)
44 sed -i -e "s#CFLAGS =#CFLAGS += -I/usr/include/SDL#g" Makefile
45 sed -i -e "s#LDFLAGS =#LDFLAGS +=#g" Makefile
46}
47
48build() {
49 cd $srcdir/ZeldaOLB-src-linux/src
50 make
51}
52
53package () {
54
55 install -Dm644 $_name.desktop $pkgdir/usr/share/applications/$_name.desktop
56 cd $srcdir/ZeldaOLB-src-linux/src
57
58 install -Dm755 ZeldaOLB $pkgdir/usr/bin/$_name
59
60 cd data
61 for i in {map,music,sound}/*
62 do
63 install -Dm644 $i $pkgdir/usr/share/$pkgname/$i
64 done
65
66 cd images
67 for i in */*
68 do
69 install -Dm644 $i $pkgdir/usr/share/$pkgname/images/$i
70 done
71 mkdir -p $pkgdir/usr/share/icons/hicolor/256x256/apps
72 convert logos/fond.png -resize 256x256\! $pkgdir/usr/share/icons/hicolor/256x256/apps/$_name.png
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion