summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:48 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:09 +0200
commit1a72cfd7f24a9457d864eaba63172e585ac78c79 (patch)
tree17ea62c90b7951ef32b7c475e48573ead7ef4e4d
parent765495190b5639d4b86438e39c4fdb73a6aea4b4 (diff)
downloadslackbuilds-1a72cfd7f24a9457d864eaba63172e585ac78c79.tar.gz
desktop/i3-gaps: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--desktop/i3-gaps/i3-gaps.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/i3-gaps/i3-gaps.SlackBuild b/desktop/i3-gaps/i3-gaps.SlackBuild
index 830988e900..5891455772 100644
--- a/desktop/i3-gaps/i3-gaps.SlackBuild
+++ b/desktop/i3-gaps/i3-gaps.SlackBuild
@@ -87,8 +87,8 @@ cd build
--prefix=/usr \
--sysconfdir=/etc \
-Ddocdir=/usr/doc/$PRGNAM-$VERSION
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \