summaryrefslogtreecommitdiff
path: root/libraries/allegro4
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-02 03:26:14 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-02 10:30:01 -0400
commit7bd4195a8c2f85fb2804d51cc9753d8c56e86d79 (patch)
tree98fa5102acce541590a17fba4db15a288dfed746 /libraries/allegro4
parentef711c1369b951c02aa95f38a5044812180a4866 (diff)
downloadslackbuilds-7bd4195a8c2f85fb2804d51cc9753d8c56e86d79.tar.gz
libraries/allegro4: Use correct doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 a7584d7a5a..75f6a49297 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