diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-07 23:14:57 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:21 +0700 |
commit | 1195b776439a153f933a360fc49543c2edde8e18 (patch) | |
tree | 827e731173d427ec60e506d36278795741a092c1 /games | |
parent | 00f7965278e78c1fc53f981241ab31d5043c90a6 (diff) | |
download | slackbuilds-1195b776439a153f933a360fc49543c2edde8e18.tar.xz |
games/typhoon_2001: Fix doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/typhoon_2001/typhoon_2001.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/games/typhoon_2001/typhoon_2001.SlackBuild b/games/typhoon_2001/typhoon_2001.SlackBuild index c9cc7765c505..fe73e942b0db 100644 --- a/games/typhoon_2001/typhoon_2001.SlackBuild +++ b/games/typhoon_2001/typhoon_2001.SlackBuild @@ -11,6 +11,8 @@ # typhoon.cfg needs to be a real file and be writable by the user. # (it will be created the first time the game is run). +# 20230107 bkw: BUILD=4, forgot the SlackBuild in the doc dir. + # 20211216 bkw: BUILD=3 # - make sound work OOTB: run binary with aoss wrapper. @@ -23,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=typhoon_2001 VERSION=${VERSION:-r3992} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,6 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION + set -e rm -fr $TMP/$PRGNAM $PKG $TMP/$PRGNAM-$VERSION @@ -61,11 +65,12 @@ chmod 755 typhoon # OK, put everything where it goes in a proper Slack package... mkdir -p $PKG/usr/share/games/$PRGNAM \ $PKG/usr/libexec \ - $PKG/usr/doc/$PRGNAM-$VERSION \ + $PKGDOC \ $PKG/install \ $PKG/usr/games -cp -a readme_linux.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +cp -a readme_linux.txt $PKGDOC cp -a typhoon $PKG/usr/libexec cp -a game *.mod *.dat $PKG/usr/share/games/$PRGNAM |