summaryrefslogtreecommitdiff
path: root/libraries/lua-mpack
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lua-mpack')
-rw-r--r--libraries/lua-mpack/lua-mpack.SlackBuild6
1 files changed, 3 insertions, 3 deletions
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 <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