From 518e75a7021dc1ddce7b1e7004bcd1a11b6d6fda Mon Sep 17 00:00:00 2001 From: Benjamin Hennion Date: Tue, 23 Aug 2022 20:07:55 +0200 Subject: [PATCH] Use cmake instead of make --- PKGBUILD | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 47067c57d6fab..9c44acc1b366b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -48,13 +48,11 @@ build() { cd "$srcdir/plasma-bigscreen" cmake -B build \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release - cd build - make + cmake --build build --target all } package() { - cd "$srcdir/plasma-bigscreen/build" - make DESTDIR="$pkgdir/" install + cmake --install "$srcdir/plasma-bigscreen/build" --prefix "$pkgdir/usr" }