From 651527eebbeaa231e30db4f2a22aac6f091da7de Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sat, 17 Mar 2018 21:50:26 -0700 Subject: libraries/lua-mpack: Script clean up. Signed-off-by: Benjamin Trigona-Harany --- libraries/lua-mpack/lua-mpack.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/lua-mpack') diff --git a/libraries/lua-mpack/lua-mpack.SlackBuild b/libraries/lua-mpack/lua-mpack.SlackBuild index d42f545a4c..4fec1f575b 100644 --- a/libraries/lua-mpack/lua-mpack.SlackBuild +++ b/libraries/lua-mpack/lua-mpack.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for lua-mpack -# Copyright 2016 Benjamin Trigona-Harany +# Copyright 2016-2018 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -61,14 +61,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; gcc -O2 -fPIC -c lmpack.c -o lmpack.o gcc -shared -o mpack.so lmpack.o -- cgit v1.2.3