Generically use cmake for build instead of make directly

This commit is contained in:
Manuel 2022-12-06 22:10:20 +01:00
parent eb7199cf13
commit 08bf7c405d
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 8 additions and 8 deletions

View file

@ -23,9 +23,9 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF
make -C build
cmake --build build
}
package() {
make -C build DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}