aboutsummaryrefslogtreecommitdiff
path: root/libraries/highway/highway.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/highway/highway.SlackBuild')
-rw-r--r--libraries/highway/highway.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/highway/highway.SlackBuild b/libraries/highway/highway.SlackBuild
index 2e179d6a55..e0084e4818 100644
--- a/libraries/highway/highway.SlackBuild
+++ b/libraries/highway/highway.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for highway
-# Copyright 2022-2024 Vijay Marcel
+# Copyright 2022-2025 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=highway
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,9 +73,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 {} \+
cmake -B build -S $TMP/$PRGNAM-$VERSION \
@@ -95,7 +95,7 @@ cmake -B build -S $TMP/$PRGNAM-$VERSION \
cmake --build build
DESTDIR=$PKG cmake --install build
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true