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>
This commit is contained in:
JK Wood 2022-02-13 01:04:55 +00:00 committed by Willy Sudiarto Raharjo
parent 49b1da415b
commit f35f186838
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 14 additions and 14 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"