mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/FreeBASIC: Fixed SlackBuild.
Create libtinfo.5 symlink in $PKG. Don't need subshells. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
f212697f4e
commit
e209d6a758
1 changed files with 9 additions and 12 deletions
|
@ -84,21 +84,18 @@ cp -rf lib/${PRGNAM,,}/* $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM,,}
|
|||
|
||||
# fix linking library for x86_64 arch
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
(
|
||||
cd /usr/lib${LIBDIRSUFFIX}
|
||||
ln -s /usr/lib${LIBDIRSUFFIX}/${PRGNAM,,}/linux-x86_64 $PKG/usr/lib/${PRGNAM,,}
|
||||
)
|
||||
ln -sf \
|
||||
/usr/lib${LIBDIRSUFFIX}/${PRGNAM,,}/linux-x86_64 \
|
||||
$PKG/usr/lib/${PRGNAM,,}
|
||||
fi
|
||||
|
||||
# fix linking with libtinfo over libncurses
|
||||
if [[ -L "/usr/lib${LIBDIRSUFFIX}/libtinfo.so.5" && -f "/usr/lib${LIBDIRSUFFIX}/libtinfo.so.5" ]]; then
|
||||
echo "Symlink to ncurses is ready"
|
||||
else
|
||||
(
|
||||
cd /usr/lib${LIBDIRSUFFIX}
|
||||
ln -s /usr/lib${LIBDIRSUFFIX}/libncurses.so.5 libtinfo.so.5
|
||||
)
|
||||
fi
|
||||
ln -sf \
|
||||
/usr/lib${LIBDIRSUFFIX}/libncurses.so.5 \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/libtinfo.so.5
|
||||
ln -sf \
|
||||
/usr/lib${LIBDIRSUFFIX}/libtinfo.so.5 \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/libtinfo.so
|
||||
|
||||
# gzip man page
|
||||
gzip -c doc/fbc.1 > $PKG/usr/man/man1/fbc.1.gz
|
||||
|
|
Loading…
Reference in a new issue