system/kitty-bin: Do not symlink /usr/lib64 to /usr/lib.

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

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-06-30 16:11:00 -04:00 committed by Willy Sudiarto Raharjo
parent 44a056c311
commit 45b12f44bf
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -18,12 +18,16 @@
# Since upstream provides a 64-bit ARM binary bundle, this script can
# create an aarch64 package. I don't use ARM and haven't tested it.
# 20230630 bkw: BUILD=2
# - fix a major boo-boo: /usr/lib was being overwritten with a symlink
# to lib64. this broke on multilib, badly.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kitty-bin
SRCNAM=kitty
VERSION=${VERSION:-0.28.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -77,7 +81,9 @@ patchelf --remove-rpath bin/*
if [ -n "$LIBDIR" ]; then
mv lib $LIBDIR
ln -s $LIBDIR lib
mkdir -p lib
ln -s ../$LIBDIR/kitty lib/kitty
ln -s ../$LIBDIR/kitty-extensions lib/kitty-extensions
fi
# TODO: find out WTF lib/cacert.pem is intended to be used for, and