Generically use cmake for build instead of make directly

This commit is contained in:
Manuel 2022-12-06 22:10:20 +01:00
parent 88055ad306
commit 3cfa81bec7

View file

@ -20,9 +20,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
}