* update json-c to 0.18-1

This commit is contained in:
Alexander Baldeck 2024-09-22 12:55:24 +02:00
parent 3c6f18bd09
commit b8a84261f2
3 changed files with 27 additions and 5 deletions

16
json-c/.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = json-c
pkgdesc = JSON implementation in C
pkgver = 0.18
pkgrel = 1
url = https://github.com/json-c/json-c/wiki
arch = x86_64
license = MIT
makedepends = cmake
makedepends = git
makedepends = ninja
depends = glibc
provides = libjson-c.so
source = git+https://github.com/json-c/json-c#tag=json-c-0.18-20240915
b2sums = 4abc79ff71b8320022f4385221ff0c7183e2f150c94e3d837369226d26c118a2123823cb5c5123299b87068e998bca543ee20a74b9d6fbe39eb0cbd8600a8473
pkgname = json-c

6
json-c/.nvchecker.toml Normal file
View File

@ -0,0 +1,6 @@
[json-c]
source = "github"
github = "json-c/json-c"
use_max_tag = true
from_pattern = '^json-c-(.+)-\d+$'
to_pattern = '\1'

View File

@ -4,10 +4,10 @@
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
pkgver=0.17
_tagdate=20230812
pkgrel=2
pkgdesc="A JSON implementation in C"
pkgver=0.18
_tagdate=20240915
pkgrel=1
pkgdesc="JSON implementation in C"
url="https://github.com/json-c/json-c/wiki"
license=(MIT)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -21,7 +21,7 @@ makedepends=(
)
provides=(libjson-c.so)
source=("git+https://github.com/json-c/json-c#tag=json-c-$pkgver-$_tagdate")
b2sums=('9e0b0f41703460a4a61bf4e2b005bbc436f0f563a1a82ce8acb399d5efa18744ec86e8610866568fc6f77e3eec097fd688cbb9cb6bfbf7179b8178d8ee2de3ff')
b2sums=('4abc79ff71b8320022f4385221ff0c7183e2f150c94e3d837369226d26c118a2123823cb5c5123299b87068e998bca543ee20a74b9d6fbe39eb0cbd8600a8473')
build() {
local cmake_options=(