summaryrefslogtreecommitdiff
path: root/source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-07-02 20:36:38 +0000
committerEric Hameleers <alien@slackware.com>2019-07-03 08:59:47 +0200
commited5de188b1ed607733e4e70b83631161dc845789 (patch)
treebdc2e3a55e557de3084c2897750919c4e3b8dd8d /source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild
parent68fc452c5b2257672e15fa91a4965dbda57134fa (diff)
downloadcurrent-ed5de188b1ed607733e4e70b83631161dc845789.tar.gz
Tue Jul 2 20:36:38 UTC 201920190702203638
d/python-setuptools-41.0.1-x86_64-2.txz: Rebuilt. l/freetype-2.10.1-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_51-x86_64-1.txz: Upgraded. n/php-7.3.7-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild')
-rwxr-xr-xsource/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild b/source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild
index 86ed0a68..cbe8394b 100755
--- a/source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild
+++ b/source/l/gsettings-desktop-schemas/gsettings-desktop-schemas.SlackBuild
@@ -50,6 +50,8 @@ fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -91,7 +93,7 @@ meson setup \
--localstatedir=/var \
--mandir=/usr/man \
.. || exit 1
- ninja || exit 1
+ ninja $NUMJOBS || exit 1
DESTDIR=$PKG ninja install || exit 1
cd ..