Browse Source

desktop/xpra: Fix paths in 55_server_x11.conf.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/191/head
B. Watson 3 years ago
committed by Willy Sudiarto Raharjo
parent
commit
06bb1c782a
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 8
      desktop/xpra/xpra.SlackBuild

8
desktop/xpra/xpra.SlackBuild

@ -6,11 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20221217 bkw: BUILD=2.
# - fix paths in config file (do not include $PKG).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xpra
VERSION=${VERSION:-4.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -59,6 +62,9 @@ python3 setup.py install \
--without-strict \
--without-debug
# 20221217 bkw: grrr. $PKG getting hardcoded in config file.
sed -i "s,$PKG,,g" $PKG/etc/xpra/conf.d/55_server_x11.conf
# This is *much* faster than using 'file' to classify them.
find $PKG/usr/lib* -name '*.so' | xargs strip --strip-unneeded

Loading…
Cancel
Save