serioussam-sequel
maintainer tx00110xt
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a data archive from archive.org, a non-standard host, but the content is non-executable game data installed as part of a mod; the primary sources are from GitHub, and the build process compiles only project-owned code, posing no executable risk from the external download.
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 a data archive from archive.org, a non-standard host, but the content is non-executable game data installed as part of a mod; the primary sources are from GitHub, and the build process compiles only project-owned code, posing no executable risk from the external download.
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/sam-tse-sequel/SamTSE-Sequel.tar.xz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alexander <t.x00100x.t@yandex.ru>
2
# Contributer: Alexander <t.x00100x.t@yandex.ru>
3
4
pkgname=serioussam-sequel
5
pkginstdir=serioussamse
6
sequiel=SamTSE-Sequel.tar.xz
7
pkgver=1.1.0
8
_srcname="SE1-TSE-Sequel-$pkgver-beta"
9
pkgrel=1
10
pkgdesc="Serious Sam Classic Sequel native Linux."
11
arch=('i686' 'x86_64')
12
url="https://github.com/tx00100xt/SE1-TSE-Sequel"
13
license=('GPL2')
14
15
if pacman -Qq serioussam >/dev/null 2>&1; then
16
depends=('sdl2' 'python' 'bash' 'serioussam')
17
elif pacman -Qq serioussam-vk >/dev/null 2>&1; then
18
depends=('sdl2' 'python' 'bash' 'serioussam-vk')
19
else
20
echo "This package requires either "serioussam" or "serioussam-vk", but neither is installed."
21
echo "Compilation aborted."
22
return 1
23
fi
24
25
makedepends=('cmake' 'make' 'sed')
26
source=("https://github.com/tx00100xt/SE1-TSE-Sequel/archive/refs/tags/v$pkgver-beta.tar.gz"
27
"https://github.com/tx00100xt/SE1-ParametricParticles/archive/refs/tags/v1.2.1.tar.gz"
28
"https://archive.org/download/sam-tse-sequel/SamTSE-Sequel.tar.xz")
29
noextract=("SamTSE-Sequel.tar.xz")
30
sha256sums=('0777dee5e06a1e5f168f1d2cabb685b306ce3b90d1b176bb108d5b559d9f07b7'
31
'aee90078dedb8d1ad1a74f79fb841f2503249917ee3037e746fd033ba178cc73'
32
'084285f53454d2331a5527c3485169ba3c6c4bd6f9d50d8eaf94e13a21afee26')
33
34
if [[ $CARCH = "i686" ]]; then
35
_bits="32"
36
else
37
_bits="64"
38
fi
39
40
prepare(){
41
# Install the Sequel Modification data.
42
mkdir "$srcdir/$_srcname"/{SamTSE,SamTSE/Mods,SamTSE/Mods/TheSequel} || return 0
43
tar -xJvf "$srcdir/$sequiel" -C "$srcdir/$_srcname/SamTSE/"
44
45
chmod -R o=rx "$srcdir/$_srcname/SamTSE/Mods/TheSequel"
46
chmod -R g=rx "$srcdir/$_srcname/SamTSE/Mods/TheSequel"
47
48
# Making building scripts.
49
cd "$srcdir/$_srcname/Sources/"
50
sed -i 's/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo/cmake -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh
51
sed 's/cmake -DCMAKE_BUILD_TYPE=Release/cmake -DTFE=FALSE -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh > build-linux"$_bits"-tse.sh
52
53
chmod 755 build-linux"$_bits"-tse.sh
54
}
55
56
build(){
57
# Building Serious Sam TheSequel.
58
cd "$srcdir/SE1-ParametricParticles-1.2.1/Sources/"
59
mkdir build && cd build
60
cmake ..
61
make -j4
62
63
# Building Serious Sam TheSequel.
64
cd "$srcdir/$_srcname/Sources/"
65
./build-linux"$_bits"-tse.sh
66
67
mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libGameMP.so" "$srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin" || return 1
68
mv "$srcdir/SE1-ParametricParticles-1.2.1/Sources/build/Debug/libParametricParticlesMP.so" "$srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin" || return 1
69
mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libEntitiesMP.so" "$srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin" || return 1
70
71
# Removing Serious Sam TheSequel tmp stuff.
72
cd "$srcdir/$_srcname/"
73
rm -fr "Sources"
74
rm -fr "Tools.Win32"
75
76
rm -f "$srcdir/$_srcname"/{*.sh,*.old,*.md}
77
rm -fr "$srcdir/$_srcname"/{Images,x32,x64}
78
}
79
80
package(){
81
# Making sure directories exist.
82
install -d $pkgdir/usr/lib/{serioussamse,serioussamse/Mods,serioussamse/Mods/TheSequel}
83
install -d $pkgdir/usr/share/{serioussamse,serioussamse/Mods}
84
85
install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin/libGameMP.so $pkgdir/usr/lib/serioussamse/Mods/TheSequel
86
install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin/libEntitiesMP.so $pkgdir/usr/lib/serioussamse/Mods/TheSequel
87
install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin/libParametricParticlesMP.so $pkgdir/usr/lib/serioussamse/Mods/TheSequel
88
89
rm -fr "$srcdir/$_srcname/SamTSE/Mods/TheSequel/Bin"
90
91
# Making sure directories exist.
92
install -d $pkgdir/usr/share/licenses
93
94
# Install license.
95
install -D -m 644 $srcdir/$_srcname/LICENSE \
96
$pkgdir/usr/share/licenses/$pkgname/LICENSE
97
rm -f "$srcdir/$_srcname/LICENSE" || return 1
98
99
# Install data.
100
mv "$srcdir/$_srcname/SamTSE/Mods" "$pkgdir/usr/share/$pkginstdir/"
101
}
102
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 |