nanopb-bin

LOW
maintainer Vial 0 votes scanned 2026-09-12 11:11:46.143552
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: Robin Trioux <robin@trioux.eu>
2pkgname=nanopb-bin
3pkgver=0.4.9.2
4pkgrel=1
5pkgdesc="Protocol Buffers implementation for embedded systems - prebuilt generator"
6arch=('x86_64')
7url="https://github.com/nanopb/nanopb"
8license=('Zlib')
9
10provides=("nanopb=${pkgver}")
11conflicts=('nanopb')
12
13source=(
14 "${pkgname}-${pkgver}::https://github.com/nanopb/nanopb/releases/download/nanopb-${pkgver}/nanopb-${pkgver}-linux-x86.tar.gz"
15)
16
17sha256sums=('7e05f5908f0dff5d91cb90d11ca487876de8ec274695887959b3903e4b307887')
18
19package() {
20 cd "${srcdir}/nanopb-${pkgver}-linux-x86"
21
22 # Install the complete self-contained binary distribution.
23 install -dm755 "${pkgdir}/usr/share/nanopb"
24 cp -a . "${pkgdir}/usr/share/nanopb/"
25
26 # Main generator.
27 install -dm755 "${pkgdir}/usr/bin"
28 ln -s /usr/share/nanopb/generator-bin/nanopb_generator \
29 "${pkgdir}/usr/bin/nanopb_generator"
30
31 # protoc bundled by nanopb.
32 if [[ -x "${pkgdir}/usr/share/nanopb/generator-bin/protoc" ]]; then
33 ln -s /usr/share/nanopb/generator-bin/protoc \
34 "${pkgdir}/usr/bin/nanopb-protoc"
35 fi
36
37 # protoc plugin, if supplied by this release.
38 if [[ -x "${pkgdir}/usr/share/nanopb/generator-bin/protoc-gen-nanopb" ]]; then
39 ln -s /usr/share/nanopb/generator-bin/protoc-gen-nanopb \
40 "${pkgdir}/usr/bin/protoc-gen-nanopb"
41 fi
42
43 # Upstream license.
44 if [[ -f LICENSE.txt ]]; then
45 install -Dm644 LICENSE.txt \
46 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
47 elif [[ -f LICENSE ]]; then
48 install -Dm644 LICENSE \
49 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50 fi
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-12 11:11:46 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