diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-10 17:40:06 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-10 17:40:06 -0400 |
commit | ce5c3c762a5541f3bec7ab29a7df9e3496babf79 (patch) | |
tree | 912613e7f2b648d54d879ddb6ea75a8e8845ebca /system/f3/f3.SlackBuild | |
parent | 99fc4ff8445b862afdc6f61bd2c183c59ac175fd (diff) |
system/f3: Strip binary.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/f3/f3.SlackBuild')
-rw-r--r-- | system/f3/f3.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/system/f3/f3.SlackBuild b/system/f3/f3.SlackBuild index da076af9faaa8..bde33d9cd5d4a 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 |