From 35b9977cb561415e458a123c82b67a22d91b03c2 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 29 Apr 2023 15:00:53 +0300 Subject: [PATCH] make -j$(nproc) --- nlohmann-json/lure.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nlohmann-json/lure.sh b/nlohmann-json/lure.sh index e3ad10a..9230f8c 100644 --- a/nlohmann-json/lure.sh +++ b/nlohmann-json/lure.sh @@ -19,13 +19,10 @@ build() { cd "${srcdir}/${name}-${version}" mkdir build cd ./build - cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr -DBUILD_TESTING=OFF make -j$(nproc) } package() { - cd "${srcdir}/${name}-${version}/build" - make "DESTDIR=${pkgdir}" install - install -Dm644 "-t${pkgdir}/usr/share/licenses/${name}" }