tome4-git
The source is a git repository from a project-owned domain (git.net-core.org), which is plausibly official despite not being on a standard forge; building from source is normal for AUR packages, and no untrusted prebuilt binaries are executed.
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 90%): The source is a git repository from a project-owned domain (git.net-core.org), which is plausibly official despite not being on a standard forge; building from source is normal for AUR packages, and no untrusted prebuilt binaries are executed.
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:15
source=("git+http://git.net-core.org/tome/t-engine4.git"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Harms <thotro at lyse dot net>
# Contributor Pascal Grossé <pascal.grosse@gmail.com>
pkgname=tome4-git
_pkgname=tome4
pkgver=1.7.2.r117.g75e65d71a1
pkgrel=1
pkgdesc="An open-source, single-player, role-playing roguelike game set in the world of Eyal."
arch=('i686' 'x86_64')
url="http://tome.te4.org/"
license=('custom' 'GPL3')
depends=('glu' 'openal' 'libvorbis' 'sdl2_ttf' 'sdl2_image')
makedepends=('git' 'premake' 'zip' 'unzip' 'glew')
options=(!makeflags emptydirs)
source=("git+http://git.net-core.org/tome/t-engine4.git"
aur-${_pkgname}.patch
tome4
tome4.desktop)
provides=('tome4')
conflicts=('tome4-beta' 'tome4' 'tome4-nomusic')
sha256sums=('SKIP'
'8e1821d1fe4bd2b48115179a83d71eaefa8b6bda70de77ca75d122d5d3053410'
'3a1e4901337f91697bcfaf095f488c447c27ccc2484a543e31f024d5aefb61a0'
'80e663d9eb2d41c6d9c0a6b4b5b52eb33b0872c3412a617530777fd137c0baa1')
pkgver() {
cd "${srcdir}/t-engine4"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/tome.//g'
}
###############################################################################
# 1. Patch the game.
###############################################################################
prepare() {
cd "$srcdir"/t-engine4
cp premake4.lua premake5.lua
patch -p1 < "${srcdir}/aur-${_pkgname}.patch"
}
###############################################################################
# 2. Build the game engine from source.
###############################################################################
build() {
cd t-engine4
premake5 gmake
make config=debug
}
###############################################################################
# 3. Create the package. Copy all that shall be installed into the package dir.
###############################################################################
package() {
# Extract and install the icon.
cp "${srcdir}/t-engine4/game/engines/default/data/gfx/te4-icon.png" "${srcdir}"
install -Dm644 "${srcdir}/te4-icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
# Install the documents.
install -Dm644 "${srcdir}/t-engine4/CONTRIBUTING" "${pkgdir}/usr/share/doc/${_pkgname}/CONTRIBUTING"
install -Dm644 "${srcdir}/t-engine4/CREDITS" "${pkgdir}/usr/share/doc/${_pkgname}/CREDITS"
# Install the custom license into standard location.
install -Dm644 "${srcdir}/t-engine4/COPYING" "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
install -Dm644 "${srcdir}/t-engine4/COPYING-MEDIA" "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING-MEDIA"
# Install the game executable, and the launcher.
install -Dm755 "${srcdir}/t-engine4/t-engine" "${pkgdir}/opt/${_pkgname}/t-engine"
install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
# Install the game data.
cp -r "${srcdir}/t-engine4/bootstrap" "${pkgdir}/opt/${_pkgname}/"
cp -r "${srcdir}/t-engine4/game" "${pkgdir}/opt/${_pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |