summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/telegram-qt/telegram-qt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/telegram-qt/telegram-qt.SlackBuild')
-rwxr-xr-xdeps/telepathy/telegram-qt/telegram-qt.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/telegram-qt/telegram-qt.SlackBuild b/deps/telepathy/telegram-qt/telegram-qt.SlackBuild
index 5d15ce6..46ccae3 100755
--- a/deps/telepathy/telegram-qt/telegram-qt.SlackBuild
+++ b/deps/telepathy/telegram-qt/telegram-qt.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2016, 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2016, 2017, 2018 Eric Hameleers, Eindhoven, NL
# Copyright 2016 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -24,9 +24,9 @@
PKGNAM=telegram-qt
VERSION=${VERSION:-"0.1.0"}
-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
@@ -98,6 +98,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