aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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