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 }