diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-03-17 21:50:26 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-24 06:50:34 +0700 |
commit | 651527eebbeaa231e30db4f2a22aac6f091da7de (patch) | |
tree | b428c63e3db3ce2ff3ec3d79c45b510fb78ec481 /libraries/lua-mpack | |
parent | b8a07a9b0a807357cbc1b0f2d095d70185955d0e (diff) |
libraries/lua-mpack: Script clean up.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'libraries/lua-mpack')
-rw-r--r-- | libraries/lua-mpack/lua-mpack.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/lua-mpack/lua-mpack.SlackBuild b/libraries/lua-mpack/lua-mpack.SlackBuild index d42f545a4cef8..4fec1f575b529 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 <slackbuilds@jaxartes.net> +# Copyright 2016-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # 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 |