mahjong
The source is a tarball from the project's official domain, used to build the software from source; the host is not whitelisted but is plausibly project-owned, and the checksums are verified, making this a normal AUR package with low risk.
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 95%): The source is a tarball from the project's official domain, used to build the software from source; the host is not whitelisted but is plausibly project-owned, and the checksums are verified, making this a normal AUR package with low risk.
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:17
source=("http://mahjong.julianbradfield.org/Source/${_srcdir}.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>
set -u
pkgname='mahjong'
pkgver='1.17.2'
pkgrel='1'
pkgdesc='The classical game of Mah Jong (multiplayer)'
arch=('x86_64')
url='https://mahjong.julianbradfield.org/'
license=('GPL-2.0-or-later')
depends=('glibc' 'gtk2' 'pango' 'atk' 'cairo' 'gdk-pixbuf2' 'glib2' 'harfbuzz' 'fontconfig' 'freetype2')
makedepends=('gendesk' 'imagemagick' 'setconf')
_srcdir="mj-${pkgver}-src"
source=("http://mahjong.julianbradfield.org/Source/${_srcdir}.tar.gz")
md5sums=('fec3dc03dc9496b0ed6e0bbb82af395e')
sha256sums=('f701a51704a55adde83e75670096841835cf1878e6a33623ea7894476d2d83c6')
prepare() {
set -u
cd "${_srcdir}"
gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --categories 'Application;Game' --exec 'xmj'
magick 'icon.ico' +set 'date:create' +set 'date:modify' "${pkgname}.png"
sed -e 's/& Calling/Calling/' -i 'gui-dial.c'
setconf 'Makefile' CFLAGS="${CFLAGS} $(pkg-config gtk+-2.0 --cflags) -DTILESET=NULL -DTILESETPATH=NULL -DGTK2=1 -w"
set +u
}
build() {
set -u
cd "${_srcdir}"
make LDLIBS='-lm'
set +u
}
package() {
set -u
cd "${_srcdir}"
make DESTDIR="${pkgdir}/usr/" MANDIR='share/man/man1' install 'install.man'
install -Dpm644 'tiles-v1/README' "${pkgdir}/usr/share/licenses/${pkgname}/tiles-license.txt"
install -Dpm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
install -Dpm644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps/"
set +u
}
set +u
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 |