mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
44a056c311
commit
45b12f44bf
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue