Skip to content

Commit b7fe7e4

Browse files
Freakness109ReenigneArcher
authored andcommitted
build(Archlinux): Switch from calling make directly to using cmake
This allows for other cmake generators, such as ninja, without needing to change the PKGBUILD to use them
1 parent 8076160 commit b7fe7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/linux/Arch/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ build() {
169169
desktop-file-validate "build/dev.lizardbyte.app.Sunshine.desktop"
170170
desktop-file-validate "build/dev.lizardbyte.app.Sunshine.terminal.desktop"
171171

172-
make -C build
172+
cmake --build build
173173
}
174174

175175
check() {
@@ -217,5 +217,5 @@ check() {
217217

218218
package() {
219219
export MAKEFLAGS="${MAKEFLAGS:--j$(nproc)}"
220-
make -C build install DESTDIR="$pkgdir"
220+
DESTDIR="$pkgdir" cmake --install build
221221
}

0 commit comments

Comments
 (0)