serioussam-hno

maintainer tx00110xt · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads project-specific data files (game mods) from archive.org, a non-standard but trusted host; these are non-executable assets, not code, and the build compiles only the project's own source from GitHub, posing no realistic supply-chain risk.

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 package downloads project-specific data files (game mods) from archive.org, a non-standard but trusted host; these are non-executable assets, not code, and the build compiles only the project's own source from GitHub, posing no realistic supply-chain risk.

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:28 "https://archive.org/download/hero-number-one/HeroNumberOne.tar.xz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Alexander <tx00100xt@yandex.ru>
2# Contributer: Alexander <tx00100xt@yandex.ru>
3
4pkgname=serioussam-hno
5pkginstdir=serioussamse
6hno=HeroNumberOne.tar.xz
7hno_eng=HNO-Data-messages-eng.tar.xz
8pkgver=1.0.2
9_srcname="SE1-TSE-HNO-$pkgver"
10pkgrel=1
11pkgdesc="Serious Sam Classic HNO native Linux."
12arch=('i686' 'x86_64')
13url="https://github.com/tx00100xt/SE1-TSE-HNO"
14license=('GPL2')
15
16if pacman -Qq serioussam >/dev/null 2>&1; then
17 depends=('sdl2' 'python' 'bash' 'serioussam')
18elif pacman -Qq serioussam-vk >/dev/null 2>&1; then
19 depends=('sdl2' 'python' 'bash' 'serioussam-vk')
20else
21 echo "This package requires either "serioussam" or "serioussam-vk", but neither is installed."
22 echo "Compilation aborted."
23 return 1
24fi
25
26makedepends=('cmake' 'make' 'sed')
27source=("https://github.com/tx00100xt/SE1-TSE-HNO/archive/refs/tags/v$pkgver.tar.gz"
28 "https://archive.org/download/hero-number-one/HeroNumberOne.tar.xz"
29 "https://archive.org/download/hno-data-messages-eng/HNO-Data-messages-eng.tar.xz")
30noextract=("HeroNumberOne.tar.xz")
31sha256sums=('8a126fd03056bed9c4a9b0a87db12b38dc0b83f9dc55f56c912dcc2ddfa930a9'
32 'cb75f7f79e9f1f3ae1285ed036f3f3e9d3c1323cb448ed87f316e59390f748f9'
33 '316f68a61cdba7d1dc71b3847dcd1d789f93077275fd2d0911b832dda72b101c')
34
35if [[ $CARCH = "i686" ]]; then
36 _bits="32"
37else
38 _bits="64"
39fi
40
41prepare(){
42
43
44 # Install the HNO Modification data.
45 mkdir "$srcdir/$_srcname"/{SamTSE,SamTSE/Mods,SamTSE/Mods/HNO} || return 0
46 tar -xJvf "$srcdir/$hno" -C "$srcdir/$_srcname/SamTSE/"
47 tar -xJvf "$srcdir/$hno_eng" -C "$srcdir/$_srcname/SamTSE/"
48
49 chmod -R o=rx "$srcdir/$_srcname/SamTSE/Mods/HNO"
50 chmod -R g=rx "$srcdir/$_srcname/SamTSE/Mods/HNO"
51
52 # Making building scripts.
53 cd "$srcdir/$_srcname/Sources/"
54 sed -i 's/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo/cmake -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh
55 sed 's/cmake -DCMAKE_BUILD_TYPE=Release/cmake -DTFE=FALSE -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh > build-linux"$_bits"-tse.sh
56
57 chmod 755 build-linux"$_bits"-tse.sh
58}
59
60build(){
61 # Building Serious Sam HNO.
62 cd "$srcdir/$_srcname/Sources/"
63 ./build-linux"$_bits"-tse.sh
64
65 mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libGameMP.so" "$srcdir/$_srcname/SamTSE/Mods/HNO/Bin" || return 1
66 cp -f "$srcdir/$_srcname/Sources/cmake-build/Debug/libEntitiesMP.so" "$srcdir/$_srcname/SamTSE/Mods/HNO/Bin/libEntitiesExtMP.so" || return 1
67 mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libEntitiesMP.so" "$srcdir/$_srcname/SamTSE/Mods/HNO/Bin" || return 1
68
69 # Removing Serious Sam Odd World tmp stuff.
70 cd "$srcdir/$_srcname/"
71 rm -fr "Sources"
72 rm -fr "Tools.Win32"
73
74 rm -f "$srcdir/$_srcname"/{*.sh,*.old,*.md}
75 rm -fr "$srcdir/$_srcname"/{Images,x32,x64}
76}
77
78package(){
79 # Making sure directories exist.
80 install -d $pkgdir/usr/lib/{serioussamse,serioussamse/Mods,serioussamse/Mods/HNO}
81 install -d $pkgdir/usr/share/{serioussamse,serioussamse/Mods}
82
83 install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/HNO/Bin/libGameMP.so $pkgdir/usr/lib/serioussamse/Mods/HNO
84 install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/HNO/Bin/libEntitiesMP.so $pkgdir/usr/lib/serioussamse/Mods/HNO
85 install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/HNO/Bin/libEntitiesExtMP.so $pkgdir/usr/lib/serioussamse/Mods/HNO
86
87 rm -fr "$srcdir/$_srcname/SamTSE/Mods/HNO/Bin"
88
89 # Making sure directories exist.
90 install -d $pkgdir/usr/share/licenses
91
92 # Install license.
93 install -D -m 644 $srcdir/$_srcname/LICENSE \
94 $pkgdir/usr/share/licenses/$pkgname/LICENSE
95 rm -f "$srcdir/$_srcname/LICENSE" || return 1
96
97 # Install data.
98 mv "$srcdir/$_srcname/SamTSE/Mods" "$pkgdir/usr/share/$pkginstdir/"
99}
100

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion