libraries/lua-zlib: Support alternate tarball name.

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

View file

@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
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
chown -R root:root .
find -L . \