aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2022-02-13 01:04:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-14 08:06:54 +0700
commitf35f186838faec0fda451cfa1c89e4cb58fa7cfd (patch)
tree988dfd9ee60598fc31ec377fa97a22a3b0d39714 /ham
parent49b1da415bd84037549e0720804aed8ca599f7bd (diff)
ham/klog: Updated for version 1.8.7. Adjust README. Fix paths.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/klog/README4
-rw-r--r--ham/klog/klog.SlackBuild18
-rw-r--r--ham/klog/klog.info6
3 files changed, 14 insertions, 14 deletions
diff --git a/ham/klog/README b/ham/klog/README
index 6bc6042eaf7e..1f32f422365f 100644
--- a/ham/klog/README
+++ b/ham/klog/README
@@ -1,2 +1,2 @@
-KLog is a multiplatform ham radio logging program using the QT5 framework.
-It supports integration with WSJT-X and hamlib.
+KLog is a multiplatform ham radio logging program using the QT5
+framework. It supports integration with WSJT-X and hamlib.
diff --git a/ham/klog/klog.SlackBuild b/ham/klog/klog.SlackBuild
index 62aa8221e06a..47b867df3559 100644
--- a/ham/klog/klog.SlackBuild
+++ b/ham/klog/klog.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=klog
-VERSION=${VERSION:-0.9.8.1}
+VERSION=${VERSION:-1.8.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,16 +82,16 @@ CXXFLAGS="$SLKCFLAGS" \
qmake-qt5 PREFIX=$PKG/usr KLog.pro
make
-make install
+make install DESTDIR=$PKG
+
+# this seems purposeless
+rm -r $PKG/usr/share/klog
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
mkdir -p $PKG/usr/man/man1
-cat klog.1 > $PKG/usr/man/man1/klog.1
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9c src/klog.1 > $PKG/usr/man/man1/klog.1.gz
mkdir -p $PKG/usr/share/applications
cat $CWD/klog.desktop > $PKG/usr/share/applications/klog.desktop
@@ -102,11 +102,11 @@ cat $CWD/klog16x16.png > $PKG/usr/share/icons/locolor/16x16/apps/klog.png
cat $CWD/klog32x32.png > $PKG/usr/share/icons/locolor/32x32/apps/klog.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING Changelog INSTALL.txt INSTALL-linux NEWS README TODO \
+for doc in AUTHORS COPYING Changelog NEWS README TODO; do
+ cp -a "src/$doc" \
$PKG/usr/doc/$PRGNAM-$VERSION
+done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -name "Makefile" -exec rm {} \;
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/ham/klog/klog.info b/ham/klog/klog.info
index f7c388d74bd9..fb2db07a49e6 100644
--- a/ham/klog/klog.info
+++ b/ham/klog/klog.info
@@ -1,8 +1,8 @@
PRGNAM="klog"
-VERSION="0.9.8.1"
+VERSION="1.8.7"
HOMEPAGE="https://www.klog.xyz"
-DOWNLOAD="http://download.savannah.gnu.org/releases/klog/klog-0.9.8.1.tar.gz"
-MD5SUM="84945889f276b75f7ffc82022a77592c"
+DOWNLOAD="https://github.com/ea4k/klog/archive/1.8.7/klog-1.8.7.tar.gz"
+MD5SUM="d53301013b596d9fc07daf52749b974d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="hamlib"