diff options
author | Stu Miller | 2022-06-08 02:58:59 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2022-06-11 03:59:01 +0200 |
commit | cc00c4afc40d5311513a95a7e3888d0e2ac17324 (patch) | |
tree | f4c0bc87ca9ff286556991a0f63af2aefbd428c4 /multimedia/plexmediaserver/plexmediaserver.SlackBuild | |
parent | 9e10311975260f2cfe398e6717d04c5f5ad91a73 (diff) | |
download | slackbuilds-cc00c4afc40d5311513a95a7e3888d0e2ac17324.tar.gz |
multimedia/plexmediaserver: Updated for v 1.26.2.5797_5bd057d2b.
Second attempt as stripping the files with spaces in names.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/plexmediaserver/plexmediaserver.SlackBuild')
-rw-r--r-- | multimedia/plexmediaserver/plexmediaserver.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild index a7b8fbd397..37db847bed 100644 --- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild +++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=plexmediaserver -VERSION=${VERSION:-1.26.1.5798_99a4a6ac9} +VERSION=${VERSION:-1.26.2.5797_5bd057d2b} PKG_VERSION=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -119,10 +119,9 @@ find -L . \ mkdir -p $PKG/usr/lib/ mv usr/lib/plexmediaserver $PKG/usr/lib -# Section to strip files using \n instead of \0 separator to take care of file -# paths with spaces in the names - D Woodfall -IFS=$'\n' find $PKG -print | xargs file | grep -e "executable" -e "shared object" | grep ELF | - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Second attempt at stripping files with spaces in the names. D Woodfall +find $PKG -type f -print0 | xargs -0 -I{} file "{}" | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs -I{} strip --strip-unneeded "{}" 2> /dev/null || true mkdir -p $PKG/usr/share/applications/ mv usr/share/applications/plexmediaserver.desktop $PKG/usr/share/applications |