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

View file

@ -58,7 +58,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
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 . \