aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-07-02 21:45:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:45:44 +0700
commit1c6ab88cec5477bcbdb7c9871ee1f15ccd1dab0a (patch)
tree0549fb60d70370619041980bc47845c244f085e0 /network
parent9d18c48a29b2d688663f31c3a2578e8d01bf620d (diff)
network/twinkle: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/twinkle/twinkle.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/network/twinkle/twinkle.SlackBuild b/network/twinkle/twinkle.SlackBuild
index 06e0d6bd8abc..77aca3ed37ed 100644
--- a/network/twinkle/twinkle.SlackBuild
+++ b/network/twinkle/twinkle.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for twinkle
# Copyright 2008 Mauro Giachero
-# Copyright 2022 Johannes Schoepfer, Germany
+# Copyright 2022-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -50,16 +50,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
@@ -73,9 +69,9 @@ 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 {} +
# iLBC from SBo is not recognized
#-DWITH_ILBC=On \