network/luakit: Fixed for git tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
198372747e
commit
dee1f5d915
|
@ -58,7 +58,11 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$SRCVER
|
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
|
cd $PRGNAM-$SRCVER
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
|
Loading…
Reference in New Issue