* update jsoncpp to 1.9.6-3

This commit is contained in:
Alexander Baldeck 2024-09-28 15:27:15 +02:00
parent 17bc1da3da
commit 1811a151de
2 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,6 @@
pkgbase = jsoncpp
pkgdesc = C++ library for interacting with JSON
pkgver = 1.9.5
pkgver = 1.9.6
pkgrel = 3
url = https://github.com/open-source-parsers/jsoncpp
arch = x86_64
@ -12,9 +12,9 @@ pkgbase = jsoncpp
makedepends = python
makedepends = meson
options = staticlibs
source = https://github.com/open-source-parsers/jsoncpp/archive/1.9.5/jsoncpp-1.9.5.tar.gz
sha512sums = 1d06e044759b1e1a4cc4960189dd7e001a0a4389d7239a6d59295af995a553518e4e0337b4b4b817e70da5d9731a4c98655af90791b6287870b5ff8d73ad8873
b2sums = 744275297647be8f1ac7bbf6c818e5106fc122591b3fb68c37cf33f5b3b7d6666e8429bb7ca2ae693202a5a83c274303804e21ebb27f05ba235568bf75a9b375
source = https://github.com/open-source-parsers/jsoncpp/archive/1.9.6/jsoncpp-1.9.6.tar.gz
sha512sums = 006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08
b2sums = efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe
pkgname = jsoncpp
depends = gcc-libs

View File

@ -6,7 +6,7 @@
pkgbase=jsoncpp
pkgname=('jsoncpp' 'jsoncpp-doc')
pkgver=1.9.5
pkgver=1.9.6
pkgrel=3
pkgdesc='C++ library for interacting with JSON'
url='https://github.com/open-source-parsers/jsoncpp'
@ -15,8 +15,8 @@ license=('MIT' 'custom:Public_Domain')
makedepends=('gcc-libs' 'doxygen' 'graphviz' 'python' 'meson')
options=('staticlibs')
source=(https://github.com/open-source-parsers/${pkgbase}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
sha512sums=('1d06e044759b1e1a4cc4960189dd7e001a0a4389d7239a6d59295af995a553518e4e0337b4b4b817e70da5d9731a4c98655af90791b6287870b5ff8d73ad8873')
b2sums=('744275297647be8f1ac7bbf6c818e5106fc122591b3fb68c37cf33f5b3b7d6666e8429bb7ca2ae693202a5a83c274303804e21ebb27f05ba235568bf75a9b375')
sha512sums=('006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08')
b2sums=('efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe')
prepare() {
cd ${pkgbase}-${pkgver}
@ -58,6 +58,9 @@ package_jsoncpp() {
DESTDIR="${pkgdir}" ninja -C build-static install
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
# Remove broken cmake config https://github.com/open-source-parsers/jsoncpp/issues/1568
rm -r "$pkgdir"/usr/lib/cmake
}
package_jsoncpp-doc() {