serioussam-st8vipe
maintainer tx00110xt
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source code from a GitHub repository and a modification data file from archive.org; the latter is not on a standard host but contains non-executable game data, posing minimal risk as it is not executed and only used for game content.
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 source code from a GitHub repository and a modification data file from archive.org; the latter is not on a standard host but contains non-executable game data, posing minimal risk as it is not executed and only used for game content.
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:27
"https://archive.org/download/sam-tse-st8vipe/SamTSE-ST8VIPE.tar.xz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alexander <tx00100xt@yandex.ru>
2
# Contributer: Alexander <tx00100xt@yandex.ru>
3
4
pkgname=serioussam-st8vipe
5
pkginstdir=serioussamse
6
st8vipe=SamTSE-ST8VIPE.tar.xz
7
pkgver=1.7.2
8
_srcname="SE1-TSE-ST8VIPE-$pkgver"
9
pkgrel=1
10
pkgdesc="Serious Sam Classic ST8VIPE native Linux."
11
arch=('i686' 'x86_64')
12
url="https://github.com/tx00100xt/SE1-TSE-ST8VIPE"
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-ST8VIPE/archive/refs/tags/v$pkgver.tar.gz"
27
"https://archive.org/download/sam-tse-st8vipe/SamTSE-ST8VIPE.tar.xz")
28
noextract=("SamTSE-ST8VIPE.tar.xz")
29
sha256sums=('8f637b462394b6b4549403546d057f50dbfff8446998f6fefed9ccca7411a39a'
30
"f427c69dda757dab6aab0301c15f51c04da1513bf5faffc73618c9dd0bbcba24")
31
32
if [[ $CARCH = "i686" ]]; then
33
_bits="32"
34
else
35
_bits="64"
36
fi
37
38
prepare(){
39
40
41
# Install the ST8VIPE Modification data.
42
mkdir "$srcdir/$_srcname"/{SamTSE,SamTSE/Mods,SamTSE/Mods/ST8VIPE} || return 0
43
tar -xJvf "$srcdir/$st8vipe" -C "$srcdir/$_srcname/SamTSE/"
44
chmod -R o=rx "$srcdir/$_srcname/SamTSE/Mods/ST8VIPE"
45
chmod -R g=rx "$srcdir/$_srcname/SamTSE/Mods/ST8VIPE"
46
47
# Making building scripts.
48
cd "$srcdir/$_srcname/Sources/"
49
sed -i 's/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo/cmake -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh
50
sed 's/cmake -DCMAKE_BUILD_TYPE=Release/cmake -DTFE=FALSE -DCMAKE_BUILD_TYPE=Release/g' build-linux"$_bits".sh > build-linux"$_bits"-tse.sh
51
52
chmod 755 build-linux"$_bits"-tse.sh
53
}
54
55
build(){
56
# Building Serious Sam ST8VIPE.
57
cd "$srcdir/$_srcname/Sources/"
58
./build-linux"$_bits"-tse.sh
59
60
mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libGameMP.so" "$srcdir/$_srcname/SamTSE/Mods/ST8VIPE/Bin" || return 1
61
mv "$srcdir/$_srcname/Sources/cmake-build/Debug/libEntitiesMP.so" "$srcdir/$_srcname/SamTSE/Mods/ST8VIPE/Bin" || return 1
62
63
# Removing Serious Sam ST8VIPE tmp stuff.
64
cd "$srcdir/$_srcname/"
65
rm -fr "Sources"
66
rm -fr "Tools.Win32"
67
68
rm -f "$srcdir/$_srcname"/{*.sh,*.old,*.md}
69
rm -fr "$srcdir/$_srcname"/{Images,x32,x64}
70
}
71
72
package(){
73
# Making sure directories exist.
74
install -d $pkgdir/usr/lib/{serioussamse,serioussamse/Mods,serioussamse/Mods/ST8VIPE}
75
install -d $pkgdir/usr/share/{serioussamse,serioussamse/Mods}
76
77
install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/ST8VIPE/Bin/libGameMP.so $pkgdir/usr/lib/serioussamse/Mods/ST8VIPE
78
install -D -m0755 $srcdir/$_srcname/SamTSE/Mods/ST8VIPE/Bin/libEntitiesMP.so $pkgdir/usr/lib/serioussamse/Mods/ST8VIPE
79
80
rm -fr "$srcdir/$_srcname/SamTSE/Mods/ST8VIPE/Bin"
81
82
# Making sure directories exist.
83
install -d $pkgdir/usr/share/licenses
84
85
# Install license.
86
install -D -m 644 $srcdir/$_srcname/LICENSE \
87
$pkgdir/usr/share/licenses/$pkgname/LICENSE
88
rm -f "$srcdir/$_srcname/LICENSE" || return 1
89
90
# Install data.
91
mv "$srcdir/$_srcname/SamTSE/Mods" "$pkgdir/usr/share/$pkginstdir/"
92
}
93
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 |