jsonize-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-09-13 19:15:06.142757
View on AUR
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
6pkgname=${_gitname}-bin
7pkgdesc="Turn command output into JSON"
8
9pkgver=0.1.0
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('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}"
18url=${_ghurl}
19
20license=('MIT')
21
22provides=("${_appname}")
23conflicts=("${pkgname%-bin}")
24
25options=('!strip')
26
27_pkgsrc="${_gitname}-${pkgver}"
28
29source=("${_pkgsrc}-checksums.txt::${url}/releases/download/${_gitversion}/checksums.txt")
30source_x86_64=("${_pkgsrc}-${arch[0]}.tgz::${url}/releases/download/${_gitversion}/${_pkgsrc//-/_}_${_barch[0]}.tar.gz")
31source_aarch64=("${_pkgsrc}-${arch[1]}.tgz::${url}/releases/download/${_gitversion}/${_pkgsrc//-/_}_${_barch[1]}.tar.gz")
32sha256sums=('8c1df1c0d6ed05fabb6582e0512bd7802e4335f45219759ff60b88141400913b')
33sha256sums_x86_64=('2d3b8da69be0097c299c90502e6381dd912ed1119485a43ea3dda5455d03b751')
34sha256sums_aarch64=('cff78c4f939e19d24cb029abc281273c089ef4adb75ccf908137f55055eeb45a')
35
36
37verify() {
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
47package() {
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)SeverityRules
2026-09-13 19:15:06 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion