mediarium-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-10-08 08:08:18.170045
View on AUR
Why flagged

The package downloads prebuilt binaries from GitHub releases of the project's official repository; while the host is not whitelisted, the source is verifiable and matches the project, and no malicious behavior or code execution beyond normal installation is present.

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 of the project's official repository; while the host is not whitelisted, the source is verifiable and matches the project, and no malicious behavior or code execution beyond normal installation is present.

PKGBUILD

1# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_pkgauthor=rdborg
4_pkgname=Mediarium
5_appname=${_pkgname,,}
6pkgname=${_appname}-bin
7
8pkgver=2.1.10
9pkgrel=1
10_pkgvername=v${pkgver}
11
12pkgdesc="Self-hosted media manager for movies, TV, music, ebooks and audiobooks: search, download and organise"
13
14arch=('x86_64' 'aarch64')
15_barch=('linux_amd64' 'linux_arm64')
16
17url="https://filebrowser.org/"
18_gurl="https://github.com/${_pkgauthor}/${_pkgname}"
19_gurlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
20
21license=('AGPL-3.0')
22
23depends=('par2cmdline' 'p7zip')
24conflicts=("${pkgname%-bin}")
25provides=("${_appname}")
26
27source=("${_appname}.sysusers"
28 "${_appname}.tmpfiles")
29source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tar.gz::${_gurl}/releases/download/${_pkgvername}/${_appname}_${pkgver}_${_barch[0]}.tar.gz")
30source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tar.gz::${_gurl}/releases/download/${_pkgvername}/${_appname}_${pkgver}_${_barch[1]}.tar.gz")
31sha256sums=('b9ed5becafa699a8c3f058473ccc997a853c63ed5ad1167716d1d3fc0e30dccf'
32 '4227a0b0f667a3821d2924a84089f76df8d3b6c5dcd861ae0c881f942f04ca9a')
33sha256sums_x86_64=('85ee45cec616cfa9fdaea050a956ae9278426d08604c13399e714a722a7c1a4b')
34sha256sums_aarch64=('9cc25cbde6961f3fc6eb594277bd93cc052b7d6b960bb60916be1a5bce2ca697')
35
36
37case ${CARCH} in
38 ${arch[0]})
39 _CARCH=${_barch[0]}
40 ;;
41
42 ${arch[1]})
43 _CARCH=${_barch[1]}
44 ;;
45esac
46
47prepare() {
48 cd "${srcdir}/${_appname}_${pkgver}_${_CARCH}/" || exit
49
50 sed -e 's|/usr/local/|/usr/|g' -i "${_appname}.service"
51}
52
53package() {
54 cd "${srcdir}/${_appname}_${pkgver}_${_CARCH}/" || exit
55
56 install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
57
58 install -Dm644 "${_appname}.env.example" "${pkgdir}/etc/${_appname}/${_appname}.env"
59
60 install -Dm644 "${_appname}.service" "${pkgdir}/usr/lib/systemd/system/${_appname}.service"
61
62 install -Dm644 "../${_appname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_appname}.conf"
63 install -Dm644 "../${_appname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_appname}.conf"
64
65 install -Dm644 "README-INSTALL.txt" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
66 install -Dm644 "docs/INSTALL.md" "${pkgdir}/usr/share/doc/${pkgname}/INSTALL.md"
67
68 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
69}
70

Scan history

Scanned at (UTC)SeverityRules
2026-10-08 08:08:18 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