From ae72df6ad1a2ae39bd6fa929b2eba416f4495b6b Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 29 Apr 2023 15:15:47 +0300 Subject: [PATCH] source --- nlohmann-json/lure.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nlohmann-json/lure.sh b/nlohmann-json/lure.sh index 0b2cd47..bd90552 100644 --- a/nlohmann-json/lure.sh +++ b/nlohmann-json/lure.sh @@ -1,5 +1,5 @@ name='nlohmann-json' -version='3.7.3' +version='3.11.2' release='1' desc='Header-only JSON library for Modern C++' homepage='https://github.com/nlohmann/json' @@ -11,12 +11,12 @@ conflicts=('nlohmann-json') build_deps_rosa=('cmake' 'git') -sources=("git+https://github.com/nlohmann/json.git") +sources=("https://github.com/nlohmann/json/releases/download/v${version}/json.tar.xz") checksums=('SKIP') build() { - cd "${srcdir}/${name}-${version}" + cd "${srcdir}/json-${version}" mkdir build cd ./build cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF @@ -25,6 +25,6 @@ build() { package() { - cd "${srcdir}/${name}-${version}/build" + cd "${srcdir}/json-${version}/build" make "DESTDIR=$pkgdir" install }