zelda-roth-fr
maintainer FoolEcho
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a zip file from the project's own official domain (zeldaroth.fr), which is plausibly the project's legitimate hosting; building from project-owned source is normal AUR practice, even if the host is non-whitelisted.
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 95%): The source is a zip file from the project's own official domain (zeldaroth.fr), which is plausibly the project's legitimate hosting; building from project-owned source is normal AUR practice, even if the host is non-whitelisted.
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/ROTH/linux/ZeldaROTH-src-linux.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: FoolEcho <foolecho at gmail dot com>
2
pkgname=zelda-roth-fr
3
_name=zelda-roth
4
pkgver=6.11
5
pkgrel=6
6
pkgdesc="Zelda: Return of the Hylian (french version)"
7
arch=('i686' 'x86_64')
8
url="http://www.zeldaroth.fr/"
9
license=('Unknown')
10
depends=('sdl_gfx' 'sdl_mixer' 'sdl_image' 'xdg-utils' 'hicolor-icon-theme' 'timidity++')
11
makedepends=(imagemagick)
12
optdepends=('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')
14
install=${_name}.install
15
changelog=ChangeLog
16
source=(
17
"http://www.zeldaroth.fr/fichier/ROTH/linux/ZeldaROTH-src-linux.zip"
18
zelda-roth.desktop)
19
md5sums=('3e3f9a3c944491d1cb7683a06437ae38'
20
'e668913f4420520de8775192639997f5')
21
22
prepare () {
23
cd $srcdir/ZeldaROTH-src-linux/src
24
25
# Fix the Game so that it reads save files from $HOME/.zelda-roth
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
32
#Make the game treat /usr/share/$pkgname as its data directory
33
for i in *.cpp
34
do
35
sed -i -e s~data/~/usr/share/$pkgname/~g $i
36
done
37
38
# Create the directory $HOME/.zelda-roth if it doesnt exist
39
sed -i -e s~'(NULL));'~'&\n\tif (system(\"stat $HOME/.'$_name' \&> /dev/null")) system (\"mkdir $HOME/.'$_name'\");'~ main.cpp
40
41
#Fix the preprocessor options (SDL.h not found)
42
sed -i -e "s#CFLAGS =#CFLAGS += -I/usr/include/SDL#g" Makefile
43
sed -i -e "s#LDFLAGS =#LDFLAGS +=#g" Makefile
44
}
45
46
build () {
47
cd $srcdir/ZeldaROTH-src-linux/src
48
make
49
}
50
51
package () {
52
53
install -Dm644 $_name.desktop $pkgdir/usr/share/applications/$_name.desktop
54
cd $srcdir/ZeldaROTH-src-linux/src
55
56
install -Dm755 ZeldaROTH $pkgdir/usr/bin/$_name
57
58
cd data
59
for i in {map,music,sound}/*
60
do
61
install -Dm644 $i $pkgdir/usr/share/$pkgname/$i
62
done
63
64
cd images
65
for i in */*
66
do
67
install -Dm644 $i $pkgdir/usr/share/$pkgname/images/$i
68
done
69
mkdir -p $pkgdir/usr/share/icons/hicolor/256x256/apps
70
convert logos/fond.png -resize 256x256\! $pkgdir/usr/share/icons/hicolor/256x256/apps/$_name.png
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |