summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild')
-rwxr-xr-xdeps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild b/deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild
index eddef2d..6e24c42 100755
--- a/deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild
+++ b/deps/telepathy/telepathy-logger-qt5/telepathy-logger-qt5.SlackBuild
@@ -21,15 +21,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified 2015, 2016, 2017 by Eric Hameleers <alien@slackware.com>
+# Modified 2015, 2016, 2017, 2018 by Eric Hameleers <alien@slackware.com>
PKGNAM=telepathy-logger-qt5
SRCNAM=telepathy-logger-qt
VERSION=${VERSION:-17.08.0}
-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
@@ -96,6 +96,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