summaryrefslogtreecommitdiff
path: root/network/luakit/luakit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/luakit/luakit.SlackBuild')
-rw-r--r--network/luakit/luakit.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/luakit/luakit.SlackBuild b/network/luakit/luakit.SlackBuild
index dbc3864589..b89e77c48e 100644
--- a/network/luakit/luakit.SlackBuild
+++ b/network/luakit/luakit.SlackBuild
@@ -58,7 +58,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$SRCVER.tar.gz
+if [ -e $CWD/$SRCVER.tar.gz ]; then
+ tar xvf $CWD/$SRCVER.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+fi
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \