zjpeg2png
CLEAN
maintainer witchymary
0 votes
scanned 2026-09-21 00:26:32.109917
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from a verifiable source tarball hosted on GitHub under the project's own repository, with a valid checksum; the build uses standard Zig commands and installs only the resulting binary and documentation.
1 higher static finding superseded - not the current verdict (shown for transparency)
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: witchymary
2
3
_gitauthor=dnjulek
4
pkgname=zjpeg2png
5
pkgver=1.0.0
6
pkgrel=2
7
pkgdesc="Zig port of jpeg2png"
8
9
arch=('x86_64')
10
11
url="https://github.com/${_gitauthor}/${pkgname}"
12
13
license=('GPL-3.0-or-later')
14
15
makedepends=('zig>=0.16')
16
17
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
18
"pie.patch")
19
sha256sums=('2cb1bcff245bd2f9673b71c141c1521b45ce069b2de04d2722b5a9556fb25c41'
20
'0641b8def7a2b9338ca3a6da19fed1b28529d22c7ac15b929b7ad7f8bb3b2795')
21
22
prepare() {
23
cd "${pkgname}-${pkgver}" || exit
24
patch -Np1 -i "${srcdir}/pie.patch"
25
}
26
27
build() {
28
cd "${pkgname}-${pkgver}" || exit
29
30
zig build \
31
-Doptimize=ReleaseFast \
32
--prefix "${srcdir}/install" \
33
--cache-dir "${srcdir}/.zig-cache" \
34
--global-cache-dir "${srcdir}/.zig-global-cache" \
35
--summary all
36
}
37
38
check() {
39
cd "${pkgname}-${pkgver}" || exit
40
zig build test \
41
--cache-dir "${srcdir}/.zig-cache" \
42
--global-cache-dir "${srcdir}/.zig-global-cache"
43
}
44
45
package() {
46
cd "${pkgname}-${pkgver}" || exit
47
48
install -Dm755 "${srcdir}/install/bin/zjpeg2png" "${pkgdir}/usr/bin/zjpeg2png"
49
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
50
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 00:26:32 | Clean | 2 |
| 2026-09-20 23:33:19 | Low | 1 |