games/arnold-cpc: 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-04-08 02:18:30 -04:00 committed by Willy Sudiarto Raharjo
parent a3c16390ca
commit 3aca0bd99f
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -22,6 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220407 bkw: Modified by SlackBuilds.org, BUILD=2:
# - don't install an extra copy of the binary in /usr/doc.
# 20220219 bkw: Modified by SlackBuilds.org:
# - fix 15.0 build.
# - absolute path to icon in .desktop file (because it's not in /usr/share/icons).
@ -30,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=arnold-cpc
VERSION=${VERSION:-2009.03.17}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -118,7 +121,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 ${PRGNAM}-0.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.FIRST arnold* readme* whatsnew* docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.FIRST arnold{-,_}* readme* whatsnew* docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install