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