summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/signon/signon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/signon/signon.SlackBuild')
-rwxr-xr-xdeps/telepathy/signon/signon.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/signon/signon.SlackBuild b/deps/telepathy/signon/signon.SlackBuild
index 8137abf..eac2930 100755
--- a/deps/telepathy/signon/signon.SlackBuild
+++ b/deps/telepathy/signon/signon.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=signon
SRCNAM=signond
VERSION=${VERSION:-"8.59"}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -84,6 +84,9 @@ PATH=$QTDIR/bin:$PATH \
make $NUMJOBS || make || exit 1
make install INSTALL_ROOT=$PKG || exit 1
+# 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