From 848ab93b7180132444240b62eba4e78641c175be Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 17 Nov 2013 00:00:21 +0000 Subject: [PATCH] libraries/luaevent: Fixed for github tarball. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- libraries/luaevent/luaevent.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 . \