aboutsummaryrefslogtreecommitdiff
path: root/ham/qradiopredict
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-12 22:53:46 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commitbf2d92806c8e95601254717d4fa055bce3aca105 (patch)
tree5edea24db8fd0a5da6934d9f9dac20b3acb6b7c7 /ham/qradiopredict
parent87da139fa5c4a735942b628c3736079674b282cb (diff)
ham/qradiopredict: Support alternate tarball name, fix PKGTYPE.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ham/qradiopredict')
-rw-r--r--ham/qradiopredict/qradiopredict.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/ham/qradiopredict/qradiopredict.SlackBuild b/ham/qradiopredict/qradiopredict.SlackBuild
index 42fef6c70fd03..713a0dcc10fb9 100644
--- a/ham/qradiopredict/qradiopredict.SlackBuild
+++ b/ham/qradiopredict/qradiopredict.SlackBuild
@@ -57,7 +57,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$VERSION.tar.gz
+tar -xvf $CWD/$VERSION.tar.gz || tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -108,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG${PKGTYPE:-.tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}