summaryrefslogtreecommitdiff
path: root/libraries/luaevent
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-17 00:00:21 +0000
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 22:57:11 -0600
commit848ab93b7180132444240b62eba4e78641c175be (patch)
tree020c3e91398046fb6ac85555c579683c07590247 /libraries/luaevent
parent5b72002ce8ebfec2fc4ea08a11bd988ef4c2e227 (diff)
downloadslackbuilds-848ab93b7180132444240b62eba4e78641c175be.tar.gz
libraries/luaevent: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/luaevent')
-rw-r--r--libraries/luaevent/luaevent.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/luaevent/luaevent.SlackBuild b/libraries/luaevent/luaevent.SlackBuild
index 571cb0444f..870ae902a8 100644
--- a/libraries/luaevent/luaevent.SlackBuild
+++ b/libraries/luaevent/luaevent.SlackBuild
@@ -61,7 +61,11 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+if [ -f $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 . \