prisonarchitect-hib
maintainer XZS
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a data file (icon) from the official project website and uses a custom DLAGENT for a Humble Bundle source, which is a normal distribution method for that version; no untrusted executable code is pulled from non-standard hosts.
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 file (icon) from the official project website and uses a custom DLAGENT for a Humble Bundle source, which is a normal distribution method for that version; no untrusted executable code is pulled from non-standard hosts.
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:20
"prisonarchitect.png::http://www.introversion.co.uk/prisonarchitect/images/tier/tier_icon250.png"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: XZS <d dot f dot fischer at web dot de>
2
# Contributor: Duncan K. <duncank@fastmail.fm>
3
4
pkgname=prisonarchitect-hib
5
pkgver=1.03
6
_codename="The Slammer"
7
_codename="${_codename,,}"
8
pkgrel=1
9
pkgdesc='Prison construction and management simulation (Humble Bundle version)'
10
url='http://www.introversion.co.uk/prisonarchitect/'
11
arch=('i686' 'x86_64')
12
license=('custom:commercial')
13
depends=('glu')
14
conflicts=('prisonarchitect')
15
provides=('prisonarchitect')
16
DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1')
17
install=desktop.install
18
19
source=("hib://prisonarchitect-${_codename/ /_}_${pkgver}-linux.tar.gz"
20
"prisonarchitect.png::http://www.introversion.co.uk/prisonarchitect/images/tier/tier_icon250.png"
21
"prisonarchitect.desktop")
22
md5sums=('33234710874924d50ccb3719ae951583'
23
'd8df107c67e1474fabf56cbd90b174ed'
24
'9e6cf081869d3e0949fe803a01907d50')
25
26
build() {
27
# Remove unneded architectures.
28
find -name 'PrisonArchitect.*' -executable \! -name "PrisonArchitect.$CARCH" -delete
29
}
30
31
package() {
32
local destdir="/opt/prisonarchitect"
33
install -d "$pkgdir"{"$destdir",/usr/{bin,share/{pixmaps,applications}}}
34
35
# Install game files
36
cp -r --no-preserve=ownership prisonarchitect*/* "$pkgdir$destdir"
37
38
# Make executable executable.
39
chmod +x "$pkgdir$destdir/PrisonArchitect"
40
41
# Point launcher script to the correct directory
42
sed -i "s|^base=.*|base=$destdir|" "$pkgdir$destdir/PrisonArchitect"
43
44
# Link executable
45
ln -s "$destdir/PrisonArchitect" "$pkgdir/usr/bin/prisonarchitect"
46
47
# Install desktop file and icon
48
install -m644 *.desktop "$pkgdir/usr/share/applications"
49
install -m644 *.png "$pkgdir/usr/share/pixmaps"
50
}
51
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 |