jsonize-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-13 19:15:06.142757
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3
_gitauthor=nao1215
4
_gitname=jsonize
5
_appname=jz
6
pkgname=${_gitname}-bin
7
pkgdesc="Turn command output into JSON"
8
9
pkgver=0.1.0
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64' 'aarch64')
14
_barch=('linux_amd64' 'linux_arm64')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('MIT')
21
22
provides=("${_appname}")
23
conflicts=("${pkgname%-bin}")
24
25
options=('!strip')
26
27
_pkgsrc="${_gitname}-${pkgver}"
28
29
source=("${_pkgsrc}-checksums.txt::${url}/releases/download/${_gitversion}/checksums.txt")
30
source_x86_64=("${_pkgsrc}-${arch[0]}.tgz::${url}/releases/download/${_gitversion}/${_pkgsrc//-/_}_${_barch[0]}.tar.gz")
31
source_aarch64=("${_pkgsrc}-${arch[1]}.tgz::${url}/releases/download/${_gitversion}/${_pkgsrc//-/_}_${_barch[1]}.tar.gz")
32
sha256sums=('8c1df1c0d6ed05fabb6582e0512bd7802e4335f45219759ff60b88141400913b')
33
sha256sums_x86_64=('2d3b8da69be0097c299c90502e6381dd912ed1119485a43ea3dda5455d03b751')
34
sha256sums_aarch64=('cff78c4f939e19d24cb029abc281273c089ef4adb75ccf908137f55055eeb45a')
35
36
37
verify() {
38
cp "${_pkgsrc}-checksums.txt" "checksums.txt"
39
sed -n \
40
-e "/${_pkgsrc//-/_}_${_barch[0]}.tar.gz/{s//${_pkgsrc}-${arch[0]}.tgz/g;p;}" \
41
-e "/${_pkgsrc//-/_}_${_barch[1]}.tar.gz/{s//${_pkgsrc}-${arch[1]}.tgz/g;p;}" \
42
-i "checksums.txt"
43
44
sha256sum -c --ignore-missing "checksums.txt"
45
}
46
47
package() {
48
cd "${srcdir}/" || exit
49
50
install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
51
52
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
53
54
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55
}
56
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Low | 1 |