blam-bin
LOW
maintainer prevter
0 votes
scanned 2026-08-20 00:05:13.298181
Why flagged
The package downloads prebuilt binaries from the project's official GitHub releases, which is a normal practice for AUR packages; the skipped checksum for the license file is harmless as it is not executable.
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 the project's official GitHub releases, which is a normal practice for AUR packages; the skipped checksum for the license file is harmless as it is not executable.
PKGBUILD
1
# Maintainer: prevter <prevter@gmail.com>
2
pkgname=blam-bin
3
pkgver=2.2.2
4
pkgrel=1
5
pkgdesc="Fast and lightweight LOC counter (Bazillion Lines Analyzed in Milliseconds)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/prevter/blam"
8
license=('MIT')
9
depends=('glibc')
10
provides=('blam')
11
conflicts=('blam')
12
13
_url_base="https://github.com/prevter/blam/releases/download/v${pkgver}"
14
_license_file="https://raw.githubusercontent.com/prevter/blam/v${pkgver}/LICENSE.md"
15
16
source_aarch64=(
17
"${pkgname}-${pkgver}-aarch64.tar.gz::${_url_base}/blam-v${pkgver}-linux-aarch64-glibc.tar.gz"
18
"LICENSE-${pkgver}.md::${_license_file}"
19
)
20
21
source_x86_64=(
22
"${pkgname}-${pkgver}-x86_64.tar.gz::${_url_base}/blam-v${pkgver}-linux-amd64-glibc.tar.gz"
23
"${pkgname}-${pkgver}-x86_64-v3.tar.gz::${_url_base}/blam-v${pkgver}-linux-amd64-v3-glibc.tar.gz"
24
"LICENSE-${pkgver}.md::${_license_file}"
25
)
26
27
noextract=(
28
"${pkgname}-${pkgver}-x86_64.tar.gz"
29
"${pkgname}-${pkgver}-x86_64-v3.tar.gz"
30
)
31
32
sha256sums_aarch64=(
33
'6bd329467bcd8193ce8db5daf38a8ed3dcf4a04c0ffb25b11c2a58acb9bf4055'
34
'SKIP'
35
)
36
37
sha256sums_x86_64=(
38
'a425ced347d1cd06a983939e2eff38e99979feb598cbe1820985540bad415ce1'
39
'da281c668bf0ef5a7ad8222a8e8d6f74e8d2ba6ccd1c86ef110dd7def102c7b0'
40
'SKIP'
41
)
42
43
package() {
44
if [[ "$CARCH" == "x86_64" ]]; then
45
local archive="${pkgname}-${pkgver}-x86_64.tar.gz"
46
47
if /usr/bin/ld.so --help | grep -q "x86-64-v3 (supported"; then
48
archive="${pkgname}-${pkgver}-x86_64-v3.tar.gz"
49
echo "==> Using x86-64-v3 optimized build"
50
fi
51
52
bsdtar -xof "${srcdir}/${archive}" -C "${srcdir}"
53
fi
54
55
install -Dm755 "${srcdir}/blam" "${pkgdir}/usr/bin/blam"
56
install -Dm644 "${srcdir}/LICENSE-${pkgver}.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
57
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-20 00:05:13 | Low | 2 |
| 2026-08-19 21:42:23 | Low | 2 |