aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-07-02 21:45:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:45:12 +0700
commit9d18c48a29b2d688663f31c3a2578e8d01bf620d (patch)
tree2779fee5bfc93b4df6a38811021bdc8cd385b7c1
parent0342f2ab9a648e6149f7ffff0154896984373639 (diff)
network/lurch: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/lurch/lurch.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/network/lurch/lurch.SlackBuild b/network/lurch/lurch.SlackBuild
index f8314201356c..38d63c172ce7 100644
--- a/network/lurch/lurch.SlackBuild
+++ b/network/lurch/lurch.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lurch
-# Copyright 2017 - 2022 Johannes Schoepfer, Germany
+# Copyright 2017-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -49,16 +49,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -72,11 +68,11 @@ cd $PRGNAM-$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 \
+ -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 {} +
-CFLAGS="$SLKCFLAGS" make -j1
+CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \