aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6bc6042eaf7ea..1f32f422365ff 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 62aa8221e06a2..47b867df3559a 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 f7c388d74bd97..fb2db07a49e65 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"