manaverse-sdl2-git

maintainer SpacingBat3 · 1 votes · base manaverse-git · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a Git repository from the project's official domain (git.themanaworld.org), which is a legitimate and expected source for building the package; the non-whitelisted host is not a security risk here as it hosts the project's own upstream code.

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 source is a Git repository from the project's official domain (git.themanaworld.org), which is a legitimate and expected source for building the package; the non-whitelisted host is not a security risk here as it hosts the project's own upstream code.

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:26 source=("$_srcname::$_vcs"+'https://git.themanaworld.org/mana/plus.git/')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: SpacingBat3 <git@spacingbat3.anonaddy.com>
2# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
4# Contributor: Mateusz Herych <heniekk@gmail.com>
5# Contributor: Jesse McClure <jesse [dot] mcclure [at] umassmed [dot] edu>
6
7# shellcheck shell=bash disable=SC2164,SC2034,SC2154
8
9_srcname=manaverse
10_vcs=git
11_feat=('sdl2')
12pkgbase=$_srcname-$_vcs
13pkgname=("${_srcname}-${_vcs}" "${_feat[@]/*/${_srcname}-&-${_vcs}}")
14pkgver=1.0r13075.655bf6d
15pkgrel=1
16pkgdesc="A ManaPlus fork and official game client for The Mana World."
17arch=('x86_64')
18url="https://manaplus.germantmw.de/"
19license=('GPL-2.0-or-later')
20depends=('glu' 'libxml2' 'physfs' 'curl')
21makedepends=("$_vcs" 'mesa' 'sdl'{,'2'}_{'image','mixer','net','ttf','gfx'})
22optdepends=('xdg-utils: open in-game urls in browser')
23provides=("$_srcname=$pkgver")
24conflicts=("$_srcname")
25replaces=('tmw')
26source=("$_srcname::$_vcs"+'https://git.themanaworld.org/mana/plus.git/')
27sha256sums=('SKIP')
28
29pkgver() {
30 cd $_srcname
31 # format: [app_ver]r[git_rev_count].[git_rev_hash]
32 printf "%sr%s.%s" \
33 "$(grep 'AC_INIT' 'configure.ac' | sed -E 's/^AC_INIT\(\[[^]]*\], \[([^]]*)\].*/\1/')" \
34 "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
35}
36
37prepare() {
38 cd $_srcname
39 git reset --hard
40 git clean -fx
41 # Rebrand to ManaVerse in more places
42 sed -i 's/\[manaplus\]/\[manaverse\]/' 'configure.ac'
43 sed -i 's/ManaPlus/ManaVerse/g;s/manaplus/manaverse/g' 'manaplus'{,'test'}'.desktop' 'docs/manaplus'{,'test'}'.6'
44 sed -E -i \
45 's#(<id .*>).*\\.desktop</id>#\\1manaverse.desktop</id>#' \
46 'manaplus.metainfo.xml'
47 autoreconf -i
48}
49
50_build() {
51 local _lfeat _dist _args
52 _lfeat=""
53 _args=()
54 if [ -n "$1" ]; then
55 _lfeat="-$1"
56 _args+=(--with"$_lfeat")
57 fi
58 ./configure --prefix=/usr "${_args[@]}"
59 make
60 for _dist in manaplus dyecmd; do
61 mv -f src/$_dist src/$_dist"$_lfeat".bak
62 done
63}
64
65_package() {
66 local _lfeat _dist _bname _rbnd
67 [ -n "$1" ] && _lfeat="-$1" || _lfeat=""
68 for _dist in manaplus dyecmd; do
69 cp -f src/$_dist"$_lfeat".bak src/$_dist
70 done
71 make DESTDIR="${pkgdir}" install
72 # Rename files to avoid conflicts with manaplus
73 # (continuation of rebranding done in prepare())
74 mv -T "${pkgdir}/usr/bin/dyecmd" "${pkgdir}/usr/bin/dyecmd_mv"
75 mv -T "${pkgdir}/usr/bin/manaplus" "${pkgdir}/usr/bin/manaverse"
76 for _rbnd in "${pkgdir}/usr/share/"{applications,metainfo,man/man6,icons/hicolor/scalable/apps}'/manaplus'*; do
77 mv -T "$_rbnd" "${_rbnd%/*}/manaverse${_rbnd##*manaplus}"
78 done
79}
80
81build() {
82 cd $_srcname
83 # SDL1.2 variant
84 _build
85 make clean
86 # SDL2 variant
87 _build sdl2
88}
89
90package_manaverse-sdl2-git() {
91 depends+=('sdl2_'{'image','mixer','net','ttf','gfx'})
92 pkgdesc+=" SDL2 version."
93 cd $_srcname
94 _package sdl2
95}
96
97package_manaverse-git() {
98 depends+=('sdl_'{'image','mixer','net','ttf','gfx'})
99 cd $_srcname
100 _package
101}
102

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