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