madc-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-10-24 05:39:24.161025
View on AUR
Why flagged

The package downloads prebuilt binaries from GitHub releases and documentation files from the project's repository; while the host is not whitelisted, it is the official project GitHub, and the binaries are from tagged releases with provided checksums, limiting supply-chain risk to low.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package downloads prebuilt binaries from GitHub releases and documentation files from the project's repository; while the host is not whitelisted, it is the official project GitHub, and the binaries are from tagged releases with provided checksums, limiting supply-chain risk to low.

PKGBUILD

1# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=derekbsnider
4_gitname=madc
5_appname=${_gitname}
6pkgname=${_appname}-bin
7pkgdesc="A self-contained C/C++ language with built-in compiler/linker, JIT, AOT and an interactive REPL"
8
9pkgver=0.106.0
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64')
14_barch=('linux-x86_64')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('MPL-2.0')
21
22provides=("${_appname}")
23conflicts=("${pkgname%-bin}")
24
25depends=('glibc' 'libgcc' 'libstdc++' 'glib2' 'zstd' 'zlib' 'pcre2' 'webkitgtk-6.0')
26
27options=('!strip' 'staticlibs')
28
29source=("USAGE-${pkgver}.md::${_ghurlraw}/docs/usage.md"
30 "README-${pkgver}.md::${_ghurlraw}/README.md"
31 "LICENSE-${pkgver}::${_ghurlraw}/LICENSE")
32source_x86_64=("${_appname}-${arch[0]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${pkgver}-${_barch[0]}.tar.gz")
33sha256sums=('0437e62763864e95d8916e8bc3ed31dc88b1ad7127963c65dfdf1fec690bc5b5'
34 '6d6729a055684eb0134544283af9ebe91c31d57c2f3f0a45872d619828de5b4d'
35 '1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5')
36sha256sums_x86_64=('d4b6bb3e43e17376d28c950b4edf28583a17b76e8b46e57dd5d5a0d3740d30b8')
37
38
39case ${CARCH} in
40 ${arch[0]})
41 _CARCH=${_barch[0]}
42 ;;
43esac
44
45package() {
46 cd "${srcdir}/${_appname}-${pkgver}-${_CARCH}/" || exit
47
48 install -Dm755 "bin/${_appname}" -t "${pkgdir}/usr/bin/"
49
50 install -dm755 "${pkgdir}/usr/lib"
51 cp -rfa "lib/"* "${pkgdir}/usr/lib/"
52
53 install -Dm644 /dev/stdin "${pkgdir}/etc/apparmor.d/${_appname}" <<EOF
54# madc's windows are WebKitGTK, whose sandbox (bwrap) needs user namespaces.
55# This profile allows everything else, as before; it only names the
56# program so AppArmor grants them.
57
58abi <abi/4.0>,
59include <tunables/global>
60
61profile ${_appname} /usr/bin/${_appname} flags=(unconfined) {
62 userns,
63
64 # Site-specific additions and overrides. See local/README for details.
65 include if exists <local/${_appname}>
66}
67EOF
68
69 install -Dm644 "share/man/man1/${_appname}.1.gz" -t "${pkgdir}/usr/share/man/man1/"
70
71 install -Dm644 "share/doc/${_appname}/examples/${_appname}.ini" "${pkgdir}/usr/share/doc/${pkgname}/config/${_appname}.example.ini"
72
73 install -Dm644 "../USAGE-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/USAGE.md"
74 install -Dm644 "../README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
75
76 install -Dm644 "../LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
77}
78

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 05:39:24 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