mfile-bin
LOW
maintainer DawnMagnet
0 votes
scanned 2026-10-29 11:52:15.123535
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: DawnMagnet <DawnMagnet@users.noreply.github.com>
2
pkgname=mfile-bin
3
pkgver=0.1.0
4
pkgrel=1
5
pkgdesc='Fast, static file(1) replacement with an embedded content-type model'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/DawnMagnet/mfile'
8
license=('Apache-2.0')
9
# Static cgo-free Go binary (CGO_ENABLED=0, stripped). No runtime libraries.
10
depends=()
11
options=('!strip' '!debug')
12
# Renamed local filenames include pkgver so makepkg does not reuse an older
13
# download that shared the upstream asset name. The URL keeps ${pkgver}, so a
14
# version bump does not rewrite these lines. sha256sums_* come from the
15
# release SHA256SUMS file (asset names mfile_${pkgver}_linux_amd64.tar.gz and
16
# mfile_${pkgver}_linux_arm64.tar.gz). scripts/update_package.py refreshes both
17
# per-arch source arrays and both sha256sums_* arrays from that file.
18
source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::https://github.com/DawnMagnet/mfile/releases/download/v${pkgver}/mfile_${pkgver}_linux_amd64.tar.gz")
19
source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::https://github.com/DawnMagnet/mfile/releases/download/v${pkgver}/mfile_${pkgver}_linux_arm64.tar.gz")
20
sha256sums_x86_64=('0022781691d94c0ceb1ea09df92ca5bce45c5404c2d487e3710276f0ece3d65e')
21
sha256sums_aarch64=('280bcb4d3d8f7fcdef2c4e97535ef7ebfe970095d5243f922e0758b13868988b')
22
23
package() {
24
# The release tarball is flat: mfile, LICENSE, NOTICE, README.md.
25
install -Dm755 "$srcdir/mfile" "$pkgdir/usr/bin/mfile"
26
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27
install -Dm644 "$srcdir/NOTICE" "$pkgdir/usr/share/licenses/$pkgname/NOTICE"
28
}
29
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 11:52:15 | Low | 1 |