summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild')
-rwxr-xr-xdeps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild b/deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild
index f8bd93f..8426ca6 100755
--- a/deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild
+++ b/deps/telepathy/telepathy-qt5/telepathy-qt5.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2015, 2016, 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2015, 2016, 2017, 2018 Eric Hameleers, Eindhoven, NL
# Copyright 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -25,9 +25,9 @@
PKGNAM=telepathy-qt5
SRCNAM=telepathy-qt
VERSION=${VERSION:-0.9.7}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -102,6 +102,9 @@ cd build
make install DESTDIR=$PKG || exit 1
cd ..
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null