network/luakit: Fixed for git tarball.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2013-11-26 22:54:08 +00:00 committed by Robby Workman
parent 198372747e
commit dee1f5d915
1 changed files with 5 additions and 1 deletions

View File

@ -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 . \