mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/brlcad: Fix broken symlink in doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
05f0a7b137
commit
5c0fa7644c
1 changed files with 6 additions and 4 deletions
|
@ -15,6 +15,9 @@
|
|||
# Modified by John Vogel <jvogel4@stny.rr.com> for build with cmake
|
||||
# ... and again to fix tcl/tk breakage
|
||||
|
||||
# 20220404 bkw: Modified by SlackBuilds.org, BUILD=3:
|
||||
# - fix broken symlink in doc dir.
|
||||
|
||||
# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
|
||||
# Previous version wouldn't build, updated for v7.32.4, and still
|
||||
# had to patch that.
|
||||
|
@ -25,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=brlcad
|
||||
VERSION=${VERSION:-7.32.4}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -134,9 +137,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
||||
cd $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
for sub in doc html; do
|
||||
ln -s ../../../opt/$PRGNAM/share/$sub
|
||||
done
|
||||
ln -s ../../../opt/$PRGNAM/share/doc .
|
||||
ln -s doc/html .
|
||||
cd -
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
Loading…
Reference in a new issue