games/nexuiz: Fix docs.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-05-05 14:36:44 -04:00 committed by Willy Sudiarto Raharjo
parent cd9c672296
commit e0cc1e3a4a
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -25,11 +25,13 @@
# Now maintained by B. Watson <yalhcru@gmail.com>, please don't bother
# Chess with questions about this build (bother me instead)
# 20220505 bkw: BUILD=2, add missing SlackBuild to doc dir.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nexuiz
VERSION=${VERSION:-2.5.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -92,6 +94,7 @@ mkdir -p $PKG/usr/share/pixmaps
cp $CWD/*.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp -R ./Docs/* $PKG/usr/doc/$PRGNAM-$VERSION/
cp gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION
# Include server scripts as docs: