aboutsummaryrefslogtreecommitdiff
path: root/ham/klog/klog.SlackBuild
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2020-01-26 07:03:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-26 07:03:03 +0700
commit92611ea1c9e96bc627b6f6009e8ffeedaec12bb0 (patch)
treea4d828f6f54e76682a40b1cdbad39a35703c7696 /ham/klog/klog.SlackBuild
parented1aa45d69d2caeebb774ca18ade0d1c0a9f1198 (diff)
ham/klog: Updated for version 0.9.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/klog/klog.SlackBuild')
-rw-r--r--ham/klog/klog.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/ham/klog/klog.SlackBuild b/ham/klog/klog.SlackBuild
index 901b97ae0ce3a..cc86c76c411b7 100644
--- a/ham/klog/klog.SlackBuild
+++ b/ham/klog/klog.SlackBuild
@@ -21,7 +21,7 @@
# that is unlikely, as I am rather tall.
PRGNAM=klog
-VERSION=${VERSION:-0.9.1.1}
+VERSION=${VERSION:-0.9.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,16 +69,10 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-qmake PREFIX=/usr klog.pro
+qmake-qt5 PREFIX=$PKG/usr KLog.pro
make
-
-# Somewhere after 0.6.2 the developers
-# broke the install target. We'll do
-# it live!
-
-mkdir -p $PKG/usr/bin
-install -m 755 klog $PKG/usr/bin/
+make install
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