summaryrefslogtreecommitdiffstats
path: root/system/unshieldv3/unshieldv3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/unshieldv3/unshieldv3.SlackBuild')
-rw-r--r--system/unshieldv3/unshieldv3.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/unshieldv3/unshieldv3.SlackBuild b/system/unshieldv3/unshieldv3.SlackBuild
index b58994e9c4..8c6e37669b 100644
--- a/system/unshieldv3/unshieldv3.SlackBuild
+++ b/system/unshieldv3/unshieldv3.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250614 bkw: updated for v0.2.2.
# 20221228 bkw: updated for v0.2.1 (including man page). Also add
# test-data to the doc dir (it's small, and might be useful).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unshieldv3
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -36,16 +37,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
@@ -57,8 +54,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
mkdir -p build
cd build