libraries/luasec: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-13 00:14:30 +00:00 committed by Robby Workman
parent 5e11101467
commit 42e9433f4f

View file

@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$HASH rm -rf $PRGNAM-$HASH
tar xvf $CWD/$HASH.tar.gz tar xvf $CWD/$HASH.tar.gz || tar xvf $CWD/$PRGNAM-$HASH.tar.gz
cd $PRGNAM-$HASH cd $PRGNAM-$HASH
chown -R root:root . chown -R root:root .
find -L . \ find -L . \