community/gitstatus: build with samurai

This commit is contained in:
psykose 2022-10-22 12:21:23 +00:00
parent 8118f24499
commit c2f2da5175

View File

@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=gitstatus
pkgver=1.5.4
pkgrel=0
pkgrel=1
pkgdesc="Git status for Bash and Zsh prompt"
url="https://github.com/romkatv/gitstatus"
arch="all"
@ -11,6 +11,7 @@ makedepends="
cmake
http-parser-dev
pcre-dev
samurai
zlib-dev
zsh
"
@ -63,7 +64,7 @@ build() {
# 1st group of flags is copied from the gitstatus' build script.
# 2nd group is also present in the build script, but they were changed
# in favour of shared dependencies.
cmake -B build \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DZERO_NSEC=ON \
-DTHREADSAFE=ON \