manaverse-git

LOW
maintainer SpacingBat3 1 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion