summaryrefslogtreecommitdiff
path: root/ham/gqrx-sdr/gqrx-sdr.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2022-02-12 18:44:08 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-14 08:06:53 +0700
commit9eb114527b945b6bbbc012b8f1c807d702989745 (patch)
treed5bee09acc8e9ef147ecfd71da1645c788a5beec /ham/gqrx-sdr/gqrx-sdr.SlackBuild
parent34e6caada34599e9fead85b509c48daa29818b98 (diff)
downloadslackbuilds-9eb114527b945b6bbbc012b8f1c807d702989745.tar.gz
ham/gqrx-sdr: Fix DOWNLOAD & README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/gqrx-sdr/gqrx-sdr.SlackBuild')
-rw-r--r--ham/gqrx-sdr/gqrx-sdr.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/ham/gqrx-sdr/gqrx-sdr.SlackBuild b/ham/gqrx-sdr/gqrx-sdr.SlackBuild
index 3744328564..ee8b653b36 100644
--- a/ham/gqrx-sdr/gqrx-sdr.SlackBuild
+++ b/ham/gqrx-sdr/gqrx-sdr.SlackBuild
@@ -25,6 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gqrx-sdr
+SRCNAM=gqrx
VERSION=${VERSION:-2.15.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf gqrx-$VERSION
-tar xvf $CWD/gqrx-$VERSION.tar.gz
-cd gqrx-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -97,7 +98,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/share/{applications,pixmaps}
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
-install -m644 dk.gqrx.gqrx.desktop $PKG/usr/share/applications/gqrx.desktop
install -m644 resources/icons/gqrx.svg $PKG/usr/share/pixmaps/gqrx.png
install -m644 resources/icons/gqrx.svg \
${PKG}/usr/share/icons/hicolor/64x64/apps/gqrx.png