libcper-git
LOW
maintainer taotieren
0 votes
scanned 2026-10-29 09:52:05.005162
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: taotieren <admin@taotieren.com>
2
3
pkgname=libcper-git
4
pkgver=r254.f4dd700
5
pkgrel=1
6
epoch=
7
pkgdesc="CPER JSON Representation & Conversion Library"
8
arch=($CARCH)
9
url="https://github.com/openbmc/libcper"
10
license=('Apache-2.0')
11
groups=()
12
depends=(
13
libgcc
14
json-c
15
)
16
makedepends=(
17
cmake
18
git
19
ninja
20
meson
21
)
22
checkdepends=()
23
optdepends=()
24
provides=(${pkgname%-git})
25
conflicts=(${pkgname%-git})
26
replaces=()
27
backup=()
28
options=()
29
install=
30
changelog=
31
source=("${pkgname}::git+${url}.git")
32
noextract=()
33
sha256sums=('SKIP')
34
#validpgpkeys=()
35
pkgver() {
36
cd "${srcdir}/${pkgname}"
37
(
38
set -o pipefail
39
git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
40
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
41
)
42
}
43
44
prepare() {
45
git -C "${srcdir}/${pkgname}" clean -dfx
46
}
47
48
build() {
49
arch-meson ${pkgname} build
50
ninja -C build
51
}
52
53
check(){
54
meson test -C ${srcdir}/build
55
}
56
57
package() {
58
DESTDIR="${pkgdir}" ninja -C ${srcdir}/build install
59
}
60
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 09:52:05 | Low | 1 |