From 046eb955a1c3f8633793c4ac99310a9623168fdd Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Mon, 21 Feb 2022 23:20:04 +0100 Subject: Replace cp commands by cmake equivalents --- build.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index ad735b2..fcf895c 100755 --- a/build.sh +++ b/build.sh @@ -1,9 +1,4 @@ #!/bin/sh - -# for the qml.qrc -cp -r usr/share/knotifications5 . - -cmake -B build . -cmake --build build -cp -v -r usr/ / -sudo install -vDm755 build/kdeltachat -t /usr/local/bin/ +cmake -DCMAKE_INSTALL_PREFIX=/usr -B build +make -C build +make -C build PREFIX=/usr install -- cgit v1.2.3-70-g09d2