summaryrefslogtreecommitdiffstats
path: root/accessibility/espeakup/espeakup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/espeakup/espeakup.SlackBuild')
-rw-r--r--accessibility/espeakup/espeakup.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/accessibility/espeakup/espeakup.SlackBuild b/accessibility/espeakup/espeakup.SlackBuild
index 9fbf1d2188..b5c1395e16 100644
--- a/accessibility/espeakup/espeakup.SlackBuild
+++ b/accessibility/espeakup/espeakup.SlackBuild
@@ -42,7 +42,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+if [ -e $CWD/v$VERSION.tar.gz ]; then
+ tar xvf $CWD/v$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find . \