summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/f3/f3.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/f3/f3.SlackBuild b/system/f3/f3.SlackBuild
index da076af9fa..bde33d9cd5 100644
--- a/system/f3/f3.SlackBuild
+++ b/system/f3/f3.SlackBuild
@@ -4,11 +4,14 @@
#
# adapted by Konrad J Hambrick <kjhambrick@gmail.com>
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binaries.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="f3"
VERSION=${VERSION:-7.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,9 +57,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 {} \+
# Fix man path
sed -i "s|share/man|man|g" Makefile
@@ -74,6 +74,8 @@ if [ "$EXTRA" = "YES" ]; then
make extra PREFIX=$PKG/usr && make install-extra PREFIX=$PKG/usr
fi
+strip $PKG/usr/bin/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 changelog README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0755 log-f3wr f3write.h2w $PKG/usr/doc/$PRGNAM-$VERSION