libraries/allegro4: Use correct doc dir.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-02 03:26:14 -04:00
parent ef711c1369
commit 7bd4195a8c

View file

@ -26,6 +26,9 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
# 20220402 bkw: BUILD=3
# - install docs in correct dir (PRGNAM, not SRCNAM).
# 20211019 bkw: BUILD=2
# - make eawpats a hard dep.
# - reflow README.
@ -39,7 +42,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=allegro4
SRCNAM=allegro
VERSION=${VERSION:-4.4.3.1}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -116,8 +119,8 @@ if [ -e /usr/share/sounds/eawpats/default.cfg ]; then
$PKG/usr/share/$SRCNAM/patches.dat
fi
mv $PKG/usr/doc/$SRCNAM-* $PKG/usr/doc/$SRCNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/doc/$SRCNAM-* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc