aboutsummaryrefslogtreecommitdiff
path: root/system/kitty-bin
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-30 16:11:00 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:01 +0700
commit45b12f44bf27aea056ad0d0b8cf2fd35041fb645 (patch)
treecde94ea93c5cf894fb9759928fecde202b21f69c /system/kitty-bin
parent44a056c3117292e83636161d5a8846104926b4ee (diff)
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>
Diffstat (limited to 'system/kitty-bin')
-rw-r--r--system/kitty-bin/kitty-bin.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/system/kitty-bin/kitty-bin.SlackBuild b/system/kitty-bin/kitty-bin.SlackBuild
index f0db65edb5d2e..adfc97a13ef9e 100644
--- a/system/kitty-bin/kitty-bin.SlackBuild
+++ b/system/kitty-bin/kitty-bin.SlackBuild
@@ -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