bbcsdl
The package builds from source hosted on GitHub (project's official repository) and downloads a data-only zip from the project's official domain; both sources are legitimate and non-executable, with checksums provided, posing minimal risk.
Triggered rules
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 builds from source hosted on GitHub (project's official repository) and downloads a data-only zip from the project's official domain; both sources are legitimate and non-executable, with checksums provided, posing minimal risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:19
bbclinux_$pkgver.zip::https://www.bbcbasic.co.uk/bbcsdl/bbclinux.zip
PKGBUILD
1 offending line(s) highlighted# Maintainer: Antonio Leal <antonioleal@yahoo.com>
pkgname=bbcsdl
_tarball=483d7489af3b2d173db7231b5fbc546763321dd6
pkgver=1.44a
pkgrel=2
pkgdesc="BBC Basic Programming for Linux"
arch=('x86_64')
url="https://www.bbcbasic.co.uk/bbcsdl"
license=('CC-BY-NC-SA-4.0')
depends=('sdl2' 'sdl2-compat' 'sdl2_ttf' 'sdl2_net' 'zlib' 'glibc')
makedepends=('nasm' 'unzip')
provides=('bbcsdl')
conflicts=('bbcsdl')
replaces=()
backup=()
options=(!debug)
source=(
https://github.com/rtrussell/BBCSDL/archive/${_tarball}/BBCSDL-${_tarball}.tar.gz
bbclinux_$pkgver.zip::https://www.bbcbasic.co.uk/bbcsdl/bbclinux.zip
)
noextract=()
sha256sums=(
3549f97f77fb5ff1d9711f9a8e7a450acc88c618c3bb6c4913a7f102466a539c
8673856a9b9ba96e153a0d22836aa0182b0fe8f834c974a2483fa5a849721e60
)
prepare() {
cd ${srcdir}/
tar -xf BBCSDL-${_tarball}.tar.gz -C ${srcdir}
mv BBCSDL-${_tarball} ${pkgname}-${pkgver}
unzip -f bbclinux_$pkgver.zip Box2D231.so bbc256x.png
sed -e "s/..\/BBCSDL\/src\/bbdata_x86_64.nas/src\/bbdata_x86_64.nas/" -i ${srcdir}/${pkgname}-${pkgver}/console/linux/makefile
cat << EOF > bbcsdl.desktop
[Desktop Entry]
Name=BBC BASIC
GenericName=BBC BASIC
Comment=BBC BASIC for Linux
Icon=bbc256x
Exec=bbcsdl
Type=Application
Terminal=false
Categories=Development
StartupNotify=false
EOF
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd bin/linux
make
cd ../../console/linux
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Setup package files
mkdir -p "${pkgdir}/usr/lib/${pkgname}"
install -D -m0755 bbcsdl "${pkgdir}/usr/lib/${pkgname}/bbcsdl"
install -D -m0755 libstb.so "${pkgdir}/usr/lib/${pkgname}/libstb.so"
install -D -m0755 bbcbasic "${pkgdir}/usr/lib/${pkgname}/bbcbasic"
cp bbcsdl.bbc "${pkgdir}/usr/lib/${pkgname}/"
cp -avxu lib "${pkgdir}/usr/lib/${pkgname}/"
cp -avxu examples "${pkgdir}/usr/lib/${pkgname}/"
# Install Box2D library (it can be safely removed, except if your code specifically requires it)
install -D -m0755 "${srcdir}/Box2D231.so" "${pkgdir}/usr/lib/${pkgname}/Box2D231.so"
# Create symlinks on /usr/bin
mkdir -p ${pkgdir}/usr/bin
ln -sf "/usr/lib/${pkgname}/bbcsdl" "${pkgdir}/usr/bin/bbcsdl"
ln -sf "/usr/lib/${pkgname}/bbcbasic" "${pkgdir}/usr/bin/bbcbasic"
# Install icons and desktop menu entry
mkdir -p "${pkgdir}/usr/share/pixmaps"
cp "${srcdir}/bbc256x.png" "${pkgdir}/usr/share/pixmaps"
mkdir -p "${pkgdir}/usr/share/applications"
cp "${srcdir}/bbcsdl.desktop" "${pkgdir}/usr/share/applications"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |