tome4-git

maintainer heavysink · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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:15 source=("git+http://git.net-core.org/tome/t-engine4.git"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Harms <thotro at lyse dot net>
2# Contributor Pascal Grossé <pascal.grosse@gmail.com>
3
4pkgname=tome4-git
5_pkgname=tome4
6pkgver=1.7.2.r117.g75e65d71a1
7pkgrel=1
8pkgdesc="An open-source, single-player, role-playing roguelike game set in the world of Eyal."
9arch=('i686' 'x86_64')
10url="http://tome.te4.org/"
11license=('custom' 'GPL3')
12depends=('glu' 'openal' 'libvorbis' 'sdl2_ttf' 'sdl2_image')
13makedepends=('git' 'premake' 'zip' 'unzip' 'glew')
14options=(!makeflags emptydirs)
15source=("git+http://git.net-core.org/tome/t-engine4.git"
16 aur-${_pkgname}.patch
17 tome4
18 tome4.desktop)
19provides=('tome4')
20conflicts=('tome4-beta' 'tome4' 'tome4-nomusic')
21sha256sums=('SKIP'
22 '8e1821d1fe4bd2b48115179a83d71eaefa8b6bda70de77ca75d122d5d3053410'
23 '3a1e4901337f91697bcfaf095f488c447c27ccc2484a543e31f024d5aefb61a0'
24 '80e663d9eb2d41c6d9c0a6b4b5b52eb33b0872c3412a617530777fd137c0baa1')
25
26pkgver() {
27 cd "${srcdir}/t-engine4"
28 git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/tome.//g'
29}
30
31###############################################################################
32# 1. Patch the game.
33###############################################################################
34
35prepare() {
36 cd "$srcdir"/t-engine4
37 cp premake4.lua premake5.lua
38 patch -p1 < "${srcdir}/aur-${_pkgname}.patch"
39}
40
41###############################################################################
42# 2. Build the game engine from source.
43###############################################################################
44build() {
45 cd t-engine4
46 premake5 gmake
47 make config=debug
48}
49
50###############################################################################
51# 3. Create the package. Copy all that shall be installed into the package dir.
52###############################################################################
53package() {
54 # Extract and install the icon.
55 cp "${srcdir}/t-engine4/game/engines/default/data/gfx/te4-icon.png" "${srcdir}"
56 install -Dm644 "${srcdir}/te4-icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
57
58 # Install the documents.
59 install -Dm644 "${srcdir}/t-engine4/CONTRIBUTING" "${pkgdir}/usr/share/doc/${_pkgname}/CONTRIBUTING"
60 install -Dm644 "${srcdir}/t-engine4/CREDITS" "${pkgdir}/usr/share/doc/${_pkgname}/CREDITS"
61
62 # Install the custom license into standard location.
63 install -Dm644 "${srcdir}/t-engine4/COPYING" "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
64 install -Dm644 "${srcdir}/t-engine4/COPYING-MEDIA" "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING-MEDIA"
65
66 # Install the game executable, and the launcher.
67 install -Dm755 "${srcdir}/t-engine4/t-engine" "${pkgdir}/opt/${_pkgname}/t-engine"
68 install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
69 install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
70
71 # Install the game data.
72 cp -r "${srcdir}/t-engine4/bootstrap" "${pkgdir}/opt/${_pkgname}/"
73 cp -r "${srcdir}/t-engine4/game" "${pkgdir}/opt/${_pkgname}/"
74}
75

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion