summaryrefslogtreecommitdiff
path: root/ham/gqrx-sdr/gqrx-sdr.SlackBuild
diff options
context:
space:
mode:
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