games/circuslinux: Clean up doc dir.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-07 02:14:36 -05:00 committed by Willy Sudiarto Raharjo
parent 8b214e151e
commit 3630b247d9
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -7,11 +7,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230106 bkw: BUILD=2, get useless INSTALL out of doc dir.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=circuslinux
VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,6 +85,7 @@ mkdir -p $PKG/usr/man/man6
gzip -9c $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
rm -f INSTALL.txt
cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild