sourcemod-multicolors
LOW
maintainer ChrisTX
0 votes
scanned 2026-11-03 12:04:35.126831
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Christian Pfeiffer <cpfeiffer at rev-crew dot info>
2
# shellcheck disable=SC2034,SC2154
3
# shellcheck shell=bash
4
5
pkgname=sourcemod-multicolors
6
_name=Multi-Colors
7
# The latest commit, versioned like git describe from the commit that set MuCo_VERSION to 2.2.0, as
8
# upstream has no tags
9
_commit=d2f2dc9126255571c0fc4499d5729cacb57265ca
10
pkgver=2.2.0.r3.gd2f2dc9
11
pkgrel=1
12
pkgdesc="Multi-Colors, SourceMod include files for coloured chat messages in any game (Colors and More Colors)"
13
arch=(any)
14
url="https://github.com/Bara/Multi-Colors"
15
license=(GPL-3.0-only)
16
depends=(sourcemod-scripting)
17
# Where ./aur-packages commits reads the pins from: the commit pkgver names
18
_pins_lookup() {
19
echo "_commit $(curl -fsSL "https://api.github.com/repos/Bara/Multi-Colors/commits/${pkgver##*.g}" | jq -r .sha)"
20
}
21
source=("$_name-$_commit.tar.gz::https://github.com/Bara/Multi-Colors/archive/$_commit.tar.gz")
22
sha512sums=('36fdc4205e49318209687f816de7a97966d1358f96875bae11d8561322a4bcaba358dd5ed3440beac72e11017651a0a02fb3001e87ecd19f64e811d38e23191a')
23
b2sums=('50a8a2036289318492b0300bc0d2a12117a16e3a9276d8accf351c050d202cca93a21cc9ca5764a7c01e192e6b64a2cca748471e17e0f2d4283bc3b60a163891')
24
25
check() {
26
# Upstream's test plugin compiles against the include files and SourceMod's
27
cd "$_name-$_commit/addons/sourcemod/scripting/tests" || exit
28
spcomp64 -i../include -E -w234 -o"$srcdir/test_compile.smx" test_compile.sp
29
}
30
31
package() {
32
# The include files for plugins, with SourceMod's in its scripting folder
33
local _include="$srcdir/$_name-$_commit/addons/sourcemod/scripting/include"
34
local _dest="$pkgdir/usr/lib/sourcemod/addons/sourcemod/scripting/include"
35
install -Dm644 "$_include/multicolors.inc" -t "$_dest"
36
install -Dm644 "$_include"/multicolors/*.inc -t "$_dest/multicolors"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 12:04:35 | Low | 1 |