json-c 0.18-1

This commit is contained in:
xhaa123 2024-11-03 22:14:49 +08:00
parent 741ad1e72e
commit df1ee0c465

View File

@ -5,7 +5,7 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=json-c
pkgver=0.17
pkgver=0.18
pkgrel=1
pkgdesc="A JSON implementation in C"
arch=('x86_64')
@ -14,7 +14,7 @@ license=('MIT')
depends=('glibc')
makedepends=('cmake' 'ninja')
source=(https://s3.amazonaws.com/json-c_releases/releases/${pkgname}-${pkgver}.tar.gz)
sha256sums=(7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6)
sha256sums=(876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724)
build() {
cd ${pkgname}-${pkgver}
@ -25,6 +25,8 @@ build() {
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC_LIBS=OFF \
-DENABLE_THREADING=ON \
-DENABLE_RDRAND=OFF \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_HOST_SYSTEM_NAME=Linux