From ea98fbb24870efa95c20c612d57da1f9110cbf6c Mon Sep 17 00:00:00 2001 From: xpamych Date: Thu, 4 Jan 2024 03:49:39 +0300 Subject: [PATCH] 1 --- nlohmann-json/lure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nlohmann-json/lure.sh b/nlohmann-json/lure.sh index 81b49a0..1bcc60d 100755 --- a/nlohmann-json/lure.sh +++ b/nlohmann-json/lure.sh @@ -15,7 +15,7 @@ checksums=('SKIP') build() { - cd "${srcdir}/json" + cd "${srcdir}" mkdir build cd ./build cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF @@ -24,7 +24,7 @@ build() { check() { - cd "${srcdir}/json/build" + cd "${srcdir}/build" cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON make -j$(nproc) ctest --output-on-failure @@ -32,6 +32,6 @@ check() { package() { - cd "${srcdir}/json/build" + cd "${srcdir}/build" make "DESTDIR=${pkgdir}" install }