diff options
author | Eric Engestrom | 2022-11-03 10:20:12 +0000 |
---|---|---|
committer | Eric Engestrom | 2022-11-03 10:20:19 +0000 |
commit | 92472ce7549bd9abb4a303f0de1e42f987a97b47 (patch) | |
tree | 55e33a9340ecdcc752629c85e4dc7c1ce06e27c4 | |
parent | 1269dcfe762cf9454b7f0c2adb56b933729784f4 (diff) | |
download | aur-shadered.tar.gz |
use ninja instead of make to perform the build
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 3 deletions
@@ -8,6 +8,7 @@ pkgbase = shadered makedepends = git makedepends = cmake makedepends = python + makedepends = ninja depends = gtk3 depends = sdl2 depends = sfml @@ -14,7 +14,7 @@ arch=("x86_64") url="https://github.com/dfranx/SHADERed" license=("MIT") depends=(gtk3 sdl2 sfml assimp glew glm spirv-headers) -makedepends=(git cmake python) +makedepends=(git cmake python ninja) source=("git+https://github.com/dfranx/SHADERed.git#tag=v$pkgver" "git+https://github.com/dfranx/ImGuiColorTextEdit" @@ -62,8 +62,12 @@ prepare() { build() { cd SHADERed/ - cmake . - make + cmake \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -GNinja \ + . + ninja } package() { |