aboutsummaryrefslogtreecommitdiff
path: root/libraries/allegro4
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/allegro4')
-rw-r--r--libraries/allegro4/allegro4.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/allegro4/allegro4.SlackBuild b/libraries/allegro4/allegro4.SlackBuild
index a7584d7a5afc7..75f6a492971a8 100644
--- a/libraries/allegro4/allegro4.SlackBuild
+++ b/libraries/allegro4/allegro4.SlackBuild
@@ -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