summaryrefslogtreecommitdiff
path: root/libraries/libqb/libqb.SlackBuild
diff options
context:
space:
mode:
authorJan F. Chadima <jfch@jagda.eu>2020-05-11 16:53:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-16 08:44:09 +0700
commit79a7a488253166af1f403d64facddb52ad49332c (patch)
tree86278518b928130493524d50846d828edc3a58ac /libraries/libqb/libqb.SlackBuild
parent902cf75e3fb1a725de1e0b1d6f4781a2e0785290 (diff)
downloadslackbuilds-79a7a488253166af1f403d64facddb52ad49332c.tar.gz
libraries/libqb: Updated for version 2.0.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libqb/libqb.SlackBuild')
-rw-r--r--libraries/libqb/libqb.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libqb/libqb.SlackBuild b/libraries/libqb/libqb.SlackBuild
index 5f74f868f1..3d014894f2 100644
--- a/libraries/libqb/libqb.SlackBuild
+++ b/libraries/libqb/libqb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libqb
-# Copyright 2019 Jan F. Chadima <jfch@jagda.eu>
+# Copyright 2019-2020 Jan F. Chadima <jfch@jagda.eu>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libqb
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,6 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+#remove unnecessary stuff
+rm -rf $PKG/usr/bin $PKG/usr/man/man1
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true