summaryrefslogtreecommitdiffstats
path: root/audio/setBfree/setBfree.SlackBuild
diff options
context:
space:
mode:
author Johannes Schoepfer <slackbuilds@schoepfer.info>2024-06-15 07:10:23 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-15 07:37:53 +0700
commit84a8a2ee5254a3ab4862a300fba0a68b63ce3821 (patch)
tree3b3dfa5082af724b10d2530772f8994593d57d96 /audio/setBfree/setBfree.SlackBuild
parent2ed57157dc129db5ad93d2856003166202a3ec52 (diff)
downloadslackbuilds-84a8a2ee5254a3ab4862a300fba0a68b63ce3821.tar.gz
slackbuilds-84a8a2ee5254a3ab4862a300fba0a68b63ce3821.tar.xz
audio/setBfree: Updated for version 0.8.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/setBfree/setBfree.SlackBuild')
-rw-r--r--audio/setBfree/setBfree.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/audio/setBfree/setBfree.SlackBuild b/audio/setBfree/setBfree.SlackBuild
index 722242abc9..e41412ed38 100644
--- a/audio/setBfree/setBfree.SlackBuild
+++ b/audio/setBfree/setBfree.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for setBfree
-# Copyright 2020-2023 Johannes Schoepfer, Germany
+# Copyright 2020-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=setBfree
-VERSION=${VERSION:-0.8.12}
+VERSION=${VERSION:-0.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,18 +72,20 @@ 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 {} +
patch -p0 < $CWD/libdir.patch
-patch -p1 < $CWD/setbfree-0.8.11-gl.patch
export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
make clean
make PREFIX=/usr LIBDIR=lib$LIBDIRSUFFIX OPTIMIZATIONS="$SLKCFLAGS"
make PREFIX=/usr LIBDIR=lib$LIBDIRSUFFIX DESTDIR=$PKG install
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mkdir -p $PKG/usr/share/pixmaps
cp doc/*.png \
$PKG/usr/share/pixmaps/
@@ -95,10 +97,7 @@ cp doc/*.1 $PKG/usr/man/man1/
# remove jboverdrive man page, https://github.com/pantherb/setBfree/issues/46
rm $PKG/usr/man/man1/jboverdrive.1
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION