nlohmann-json 3.12.0-2

This commit is contained in:
2025-09-21 19:27:40 +03:00
parent c5bf65da5f
commit 046be2f3f8

View File

@@ -1,15 +1,27 @@
name='nlohmann-json'
version='3.12.0'
release='1'
release='2'
desc='Header-only JSON library for Modern C++'
desc_ru='Библиотека JSON только из заголовочных файлов для современного C++'
homepage='https://github.com/nlohmann/json'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
licenses='MIT'
license=('MIT')
provides=('nlohmann-json')
conflicts=('nlohmann-json')
build_deps_rosa=('cmake' 'git')
build_deps=(
'cmake'
'git'
)
build_deps_alt=("${build_deps[@]}")
build_deps_arch=("${build_deps[@]}")
build_deps_debian=("${build_deps[@]}")
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
sources=("git+https://github.com/nlohmann/json.git#tag=v${version}")
checksums=('SKIP')
@@ -34,8 +46,7 @@ package() {
}
files() {
printf '"%s" ' ./usr/include/nlohmann/detail/**/*
printf '"%s" ' ./usr/include/nlohmann/thirdparty/hedley/*
printf '"%s" ' ./usr/share/cmake/nlohmann_json/*
echo ./usr/share/pkgconfig/nlohmann_json.pc
files-find-include
files-find-share "cmake"
files-find-share "pkgconfig"
}